开发者社区 问答 正文

Pandas基础中重复排列怎么体现呢?

已解决

Pandas基础中重复排列怎么体现呢?

展开
收起
游客r3yctwty2duzw 2022-07-22 08:16:35 219 分享 版权
1 条回答
写回答
取消 提交回答
  • 推荐回答

    Pandas基础中重复排列体现在下面代码

    In [96]:#Assign tie values the maximm rank in the group obj.rank(ascending False,method'max')

    Out[96]:0​2.0

        11​7.0
    
        2​2.0
        
        3​4.0
        
        4​5.0
        
        5​6.0
    
        6​4.0
    

    dtype:float64

    2022-07-22 09:41:06
    赞同 展开评论
问答分类:
问答标签:
问答地址: