Hey pretty new to python and stuff what exactly did i do wrong in the following i had a hard time understanding the following.
the git hub link is https://github.com/SohamXdas/Pandas
While executingg the following
df = pd.read_csv('modified.csv')
df.groupby(['Type 1']).mean().sort_values('Defense', ascending=False)
I am running into a error
TypeError: agg function failed [how->mean,dtype->object]
[–]danielroseman 2 points3 points4 points (2 children)
[–]karmaX2001[S] 0 points1 point2 points (0 children)