open_in_new
content_copy
grouped_df = df.groupby("segment")