Pandas > View dataframe head

Name
Code
Output
dataframe = pandas.DataFrame(numpy.random.randint(0,100,size=(5, 4)), columns=['C1','C2','C3','C4'])
print ("dataframe")
print (dataframe)
print ("dataframe head")
print (dataframe.head(2))
dataframe
   C1  C2  C3  C4
0  59  94   5  79
1  67  43  21  88
2  74  68  75  79
3  62  40  75  59
4  99  76  18  84
dataframe head
   C1  C3  C3  C4
0  59  94   5  79
1  67  43  21  88