MicrosoftDocs / ml-basics

Exercise notebooks for Machine Learning modules on Microsoft Learn
MIT License
1.76k stars 2.27k forks source link

Error in Data Exploration.ipynb notebook #34

Closed DFMERA closed 3 years ago

DFMERA commented 3 years ago

When I try to run the cells 32: print(df_students.groupby(df_students.Pass).Name.count()) and cell 33: print(df_students.groupby(df_students.Pass)['StudyHours', 'Grade'].mean()) I get this error: ValueError: Grouper for '<class 'pandas.core.frame.DataFrame'>' not 1-dimensional

I am using the Python 3.6 - AzureML Kernel.

Thank you

GraemeMalcolm commented 3 years ago

I can't repro this I'm afraid. I've tried with a brand new compute instance.