Class 19 Groupby and Categorical Data

Class 19 (Maybe).   Groupby and Categorical Data

I numbered this class 19 to try and have it go to the correct spot on the website.  I have the most trouble wrapping my mind around this data.  It is hard thinking like this.  It is when you have a lot of categorical data describing each point.

BIG WARNING:  For some people with new python we get an error when doing the first mean on groupby.  You need to update it to this

df.groupby(‘old tree number’).mean(numeric_only=True)

I will update the packet and GitHub soon

 

Files we need

Homework Due TBA

  • See packet