Skip to content

Instantly share code, notes, and snippets.

@thepycoach
Created December 13, 2021 17:35
Show Gist options
  • Select an option

  • Save thepycoach/edaa3bdba54ff140f7589e306ee64918 to your computer and use it in GitHub Desktop.

Select an option

Save thepycoach/edaa3bdba54ff140f7589e306ee64918 to your computer and use it in GitHub Desktop.
# Filtered gender in StudentsPerformance_csv
StudentsPerformance_csv = StudentsPerformance_csv[StudentsPerformance_csv['gender'] == 'female']
# Filtered race/ethnicity in StudentsPerformance_csv
StudentsPerformance_csv = StudentsPerformance_csv[StudentsPerformance_csv['race/ethnicity'] == 'group B']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment