Pandas > Number of elements (size)

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