calculate the mean of a group while keeping columns of type object

前端 未结 0 730
耶瑟儿~
耶瑟儿~ 2021-02-20 12:59

I have a dataframe like following:

col1   col2 col3 col4   col5...
g1       x1   x2   x3     x4
g1       x5   x6   x7     x8
g2       y1   y2   y3     y4
g2               


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