No numeric types to aggregate – change in groupby() behaviour?
How are you generating your data? See how the output shows that your data is of ‘object’ type? the groupby operations specifically check whether each column is a numeric dtype first. look ↑ Did you initialize an empty DataFrame first and then filled it? If so that’s probably why it changed with the new version … Read more