Python – Pandas : Select CSV records by criteria
Having CSV file like this loaded as pandas dataframe
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
latitude longitude POLangleWMean POLparticSum 0 10 0 89.326923 5.200 1 -71 6 99.259259 135.000 2 -59 15 81.428571 56260.486 3 -20 24 110.135196 6725.932 4 -49 30 74.014870 4035.000 5 1 31 91.250000 1.600 6 -57 31 87.832512 101972.131 7 17 35 70.789474 1.900 8 -19 39 93.877140 49.650 9 23 46 41.769231 6.500 10 28 47 88.782816 20.950 11 -46 51 73.108108 370.000 12 -48 52 76.363636 11051.167 13 -18 54 115.419355 7.750 14 38 55 31.250000 7.600 15 1 58 83.870968 3.100 16 -57 58 127.500000 6027.909 17 12 64 91.875000 4.800 18 -53 64 60.000000 4018.606 19 -22 64 35.000000 7.900 |
I am interested only in records with latitude>10 and longitude