set the value of a dataframe by the minimum of a subgroup

后端 未结 0 880
小蘑菇
小蘑菇 2020-12-09 22:37

I have a dataframe with 3 columns, I would like to apply the worst of the subset to the parent in the hierarchy, the frame looks like this to start

df1 =

            


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