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