I'm trying to create a new dataframe from an existing dataframe. I tried groupby but I didn't seem to sum up the strings as a whole number. Instead it returned many strings(colleges in this case).
This is the original dataframe
How do I return the number of colleges as an integer in the new column 'totalPlayer'? Please help.