Why a groupby dataframe becomes a series, after applying the quantile function to it?

前端 未结 0 1460
情话喂你
情话喂你 2021-02-14 19:41

I have a dataframe, and if I apply a groupby to it, and then a quantile, it gets converted to a series:

gp = gp_[[\'Power_kw\', \'bins\']].groupby(\'bins\')

powe         


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