Data-Science-For-Beginners
Data-Science-For-Beginners copied to clipboard
Expression error in 02-Working-With-Data/07-python/notebook.ipynb
Describe the bug Code to demonstrate the concept of grouping in pandas errors out because it tries to perform .mean() to text column B
I believe it should be - df.groupby(by='LenB')[['A','DivA']].mean()