Pandas groupby count add new column July 8, 2019 16 32 64 128 Pandas groupby count add column Pandas group by add count column Pandas groupby and add count of unique values as a new column