Skip to content

Instantly share code, notes, and snippets.

@bryankolano
Created November 26, 2022 10:36
Show Gist options
  • Save bryankolano/b5f84f2f737853a550f16720789c8beb to your computer and use it in GitHub Desktop.
Save bryankolano/b5f84f2f737853a550f16720789c8beb to your computer and use it in GitHub Desktop.
multi_conditions_query_readable = df.query('year.isin(@years) and \
name.str.contains("Honda") and \
selling_price.between(300000,450000)')
multi_conditions_query_readable.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment