I have a dataframe that consist of hundreds of columns, and I need to see all column names.
What I did:
In[37]: data_all2.columns
T
The easiest way I've found is just
list(df.columns)
Personally I wouldn't want to change the globals, it's not that often I want to see all the columns names.