pandas.Series.idxmax

Series.idxmax(selfaxis=0skipna=True*args**kwargs)[source]

Return the row label of the maximum value.

If multiple values equal the maximum, the first row label with that value is returned.

posted on 2022-02-13 22:22  朴素贝叶斯  阅读(32)  评论(0编辑  收藏  举报

导航