Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# select with multiple conditions
data.loc[(data.age >= 12) & (data.gender == 'M')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment