The Practical Data Science blog is written by Matt Clarke, an Ecommerce and Marketing Director who specialises in data science and machine learning for marketing and retail. DataFrame.groupby(by=None, axis=0, level=None, as_index=True, sort=True, group_keys=True, squeeze=