pandas get column average for rows with a certain value?

前端 未结 0 1272
难免孤独
难免孤独 2021-01-13 07:32

I can\'t get the average of values of a column in pandas based on the values of a different column. For example

>>> df
         ID     city     timeD         


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