Pandas > Number of dataframe dimensions

Name
Code
Output
dataframe = pandas.DataFrame(numpy.random.randint(0,10,size=(5, 3)), columns=['C1','C2','C3'])
print ("dataframe")
print (dataframe)
print ("number of dataframe dimensions")
print (dataframe.ndim)
dataframe
   C1  C2  C3
0   6   5   9
1   2   7   2
2   0   4   2
3   1   9   6
4   8   8   4
number of dataframe dimensions
2