Pandas dataframe groupby add column July 8, 2019 16 32 64 128 Pandas groupby add column to original dataframe