What do you want to save?
Add Code snippet
New code examples
-
Python 2022-01-30 23:26:14
how to filter pandas dataframe column with multiple values
# Multiple Criteria dataframe filtering movies[movies.duration >= 200] # when you wrap conditions in parantheses, you give order # you do those in brackets first before 'and' # AND movies[(movies.duration >= 200) & (movies.genre == 'Drama')] # ... Add solution