Pandas > Select data using single condition

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 conditional selection")
print (dataframe[dataframe['C1']>50])
dataframe
   C1  C2  C3  C4
0  86  13   3  83
1  63  58   1  24
2  80  87  52  40
3  34  35  37  43
4  24  30  83  11
dataframe conditional selection
   C1  C2  C3  C4
0  86  13   3  83
1  63  58   1  24
2  80  87  52  40