Pandas > Get info axis

Name
Code
Output
dataframe = pandas.DataFrame(numpy.random.randint(0,100,size=(3, 2)), columns=['C1','C2'])
print ("dataframe")
print (dataframe)
print ("Info axis")
print (dataframe.keys())
dataframe
   C1  C2
0  15  99
1  40   2
2   5  79
Info axis
Index(['C1', 'C2'], dtype='object')