Plot smooth curves of Pandas Series data

后端 未结 3 1479
北荒
北荒 2020-12-18 01:07

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:46

    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.

提交回复
热议问题