Pandas Groupby największa wartość
# max MPG for each Company
df.groupby('Company')['MPG'].max()
Chris P.
# max MPG for each Company
df.groupby('Company')['MPG'].max()