Replies: 2 comments
-
Hey! Would something like this work list_of_values = [34. , 34.05, 34.1 , 34.15, 34.2 , 34.25, 34.3] # Add as many as you need
df_2 = df[df.LAT.isin(list_of_values)] aside:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Jovan, Big thanx! : ) BR |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys ,
So i ve got a dataset looking like this:

I want to filter it, by keeping only the rows where LAT is one of this ([34. , 34.05, 34.1 , 34.15, 34.2 , 34.25, 34.3 , 34.35, 34.4 ,
34.45, 34.5 , 34.55, 34.6 , 34.65, 34.7 , 34.75, 34.8 , 34.85,
34.9 , 34.95, 35. , 35.05, 35.1 , 35.15, 35.2 , 35.25, 35.3 ,
35.35, 35.4 , 35.45, 35.5 , 35.55, 35.6 , 35.65, 35.7 , 35.75,
35.8 , 35.85, 35.9 , 35.95, 36. , 36.05, 36.1 , 36.15, 36.2 ,
36.25, 36.3 , 36.35, 36.4 , 36.45, 36.5 ])
Any ideas how to do that?
This doesnt work : /
Best Regards
Beta Was this translation helpful? Give feedback.
All reactions