Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Challenge: select all the people that are:

  • in the 3rd class
  • under age 10
  • female

A:

train[(train['Age'] < 10) & (train['pclass'] == 3) & (train['sex'] == "female")]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.