2020年12月25日星期五

Pandas Min and Max Across Rows

I have a dataframe that looks like below. I want to get a min and max value per city along with the information about which products were ordered min and max for that city. Please help.

Dataframe

https://stackoverflow.com/questions/65453301/pandas-min-and-max-across-rows December 26, 2020 at 10:51AM

没有评论:

发表评论