How to speedup the groupby.filter() operation?

前端 未结 0 524
暖寄归人
暖寄归人 2020-12-08 08:37

I have the following code with groupby function

 order_diff = order.groupby("CD_QTY").filter(
     lambda x: x["BOX_ID"].nunique() > 1
         


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