Skip to content

Instantly share code, notes, and snippets.

@wandabwa2004
Created May 12, 2020 10:46
Show Gist options
  • Save wandabwa2004/5192eb08af97d16507ddb086e733b55e to your computer and use it in GitHub Desktop.
Save wandabwa2004/5192eb08af97d16507ddb086e733b55e to your computer and use it in GitHub Desktop.
dayTypeGroupedData = data.groupby(['Is Weekday']).mean()
dayofweek_grouped_data = data.groupby(['Day_of_week']).mean()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment