Skip to content

Instantly share code, notes, and snippets.

@bryankolano
Last active November 26, 2022 11:11
Show Gist options
  • Save bryankolano/91686e86443ffbde058caf96181a01ae to your computer and use it in GitHub Desktop.
Save bryankolano/91686e86443ffbde058caf96181a01ae to your computer and use it in GitHub Desktop.
mult_conditions = df[(df['year'] >= 2013) & (df['year'] <= 2015) & (df['name'].str.contains('Honda')) &
(df['selling_price'] >= 300000) & (df['selling_price'] <= 450000)]
mult_conditions.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment