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
In the interactive console, it's easy to do:
data_all2.columns.tolist()
Or this within a script:
print(data_all2.columns.tolist())