Data-Science-For-Beginners icon indicating copy to clipboard operation
Data-Science-For-Beginners copied to clipboard

Expression error in 02-Working-With-Data/07-python/notebook.ipynb

Open aniveshkanodia opened this issue 10 months ago • 1 comments

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()

aniveshkanodia avatar Apr 12 '24 20:04 aniveshkanodia