Pandas > Remove (drop) row

Name
Code
Output
dataframe = pandas.DataFrame(numpy.random.randint(0,100,size=(5, 3)), columns=['C1','C2','C3'])
print ("dataframe")
print (dataframe)
# second parameter is axis, for rows is 0
dataframe = dataframe.drop(2, 0)
print ("dataframe with removed row 2")
print (dataframe)
dataframe
   C1  C2  C3
0  14  32  53
1  41  96  84
2  11  90  85
3  52  11  13
4  94  72  33
dataframe with removed row 2
   C1  C2  C3
0  14  32  53
1  41  96  84
3  52  11  13
4  94  72  33