Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save thepycoach/594cc1a2270c82bbea9cde0b87f4c3a4 to your computer and use it in GitHub Desktop.
# Set new-column-uca5 in StudentsPerformance_csv to =(math score+reading score+writing score)/3
StudentsPerformance_csv['average'] = (StudentsPerformance_csv['math score']+StudentsPerformance_csv['reading score']+StudentsPerformance_csv['writing score'])/3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment