[SciPy-user] scikits.timeseries : how would I plot (or calculate) monthly statistics.
Wed Mar 4 14:20:10 CST 2009
> Given 10-15 years of timeseries data how would I plot monthly
> statistics like max, min, mean, std deviation etc for a year.
import scikits.timeseries as ts
import numpy as np
start_data = ts.Date(freq='M', year=1990, month=1)
data = np.random.uniform(0, 20, 120)
ts_monthly = ts.time_series(data, freq='M', start_date=start_data)
aser = ts_monthly.convert('A', func=np.ma.std)
=> now plot aser?
P.S.: regarding time series, I have sth. for you . Please pass me your PM.
More information about the SciPy-user