Pandas > Delete (drop) single column

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 columns is 1
dataframe = dataframe.drop('C1', 1)
print ("dataframe with removed column 1")
print (dataframe)
dataframe
   C1  C2  C3
0  73  97  36
1  97  79   8
2  22  10  80
3   0  92  69
4  54   8  75
dataframe with removed column 1
   C2  C3
0  97  36
1  79   8
2  10  80
3  92  69
4   8  75