Display distinct values and take max in Python/Pandas

前端 未结 0 2026
栀梦
栀梦 2021-02-06 01:53

I have a dataset, df, where I would like to show only the max distinct values.

DATA

type    power
a_b     5
a_c     6
a_c     4
a_c     4
a_b     6
a_b             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题