Headers in Data

For the header question in Intermediate Function, I used the following code.

I assumed that headers are generally only strings. Is there a general consensus about this? Are there instances that I might run into trouble if I run like this?

bol = [True for item in data[0] if item.isnumeric() == False]
if all(bol):

@monorienaghogho It’s best to link to the mission you are referring to so that those who can help can get a better idea of the context and answer accordingly.

1 Like