Plot smooth curves of Pandas Series data

后端 未结 3 1210
礼貌的吻别
礼貌的吻别 2020-12-18 01:03

My data is:

>>> ts = pd.TimeSeries(data,indexconv)
>>> tsgroup = ts.resample(\'t\',how=\'sum\')
>>> tsgroup
2014-11-08 10:30:00            


        
3条回答
  •  [愿得一人]
    2020-12-18 01:33

    You can smooth out your data with moving averages as well, effectively applying a low-pass filter to your data. Pandas supports this with the rolling() method.

提交回复
热议问题