pandas make group of list column code example Example 1: group by pandas to list df.groupby('a')['b'].apply(list) Example 2: whats a group of pandas called embarrassment