There is a lot of data can be more than 9,000,000. I would like to delete all the rows that correspond to the case where the data value is less than the condition in a specific column.
Due to the large amount of data, it takes a long time to write the loop for and if statements.
Suppose my dataframe looks like this:
x y z c a T
0 0.000 -252.396 0.000 40.676 51.159 84.641
1 1383.800 1.000 -252.396 0.000 40.676 61.947
2 84.641 1404.800 2.000 -252.396 0.000 40.676
3 74.532 84.641 1394.800 3.000 -252.396 0.000
4 40.676 85.319 84.641 1367.700 4.000 -252.396
5 0.000 40.676 97.904 84.641 1363.800 5.000
6 -252.396 0.000 40.676 108.691 84.641 1348.500
7 6.000 -252.396 0.000 40.676 121.276 84.641
8 1421.600 7.000 -252.396 0.000 40.676 135.659
9 84.641 1455.300 8.000 -252.396 0.000 40.676
10 148.244 84.641 1529.700 9.000 -252.396 0.000
I want to delete any rows where column 'T'
is less than 800