Pandas groupby apply add new column July 8, 2019 16 32 64 128 Pandas groupby add new column Pandas groupby apply add column Pandas groupby count add new column Pandas groupby agg add new column