Pandas GroupBy - How to use groupby() to group categories in a pandas DataFrame | DevDuniya