get the most sales product in dataframe code example
Example: get the most sales product in dataframe
df.groupby(["Rep"]).sum().sort_values("Units", ascending=False)
df.groupby(["Rep"]).sum().sort_values("Units", ascending=False)