[SciPy-user] how to get only complete years from series?
Timmie
timmichelsen at gmx-topmail.de
Mon Nov 17 15:34:29 EST 2008
Hello,
I am unsing the scikit.timeseries to evaluate a long-term measurement data set.
How can I extract those years, which have complete measurements?
In the below, years 2004 & 2008 are not complete.
Is there a generic possibility that all incomplete years get masked?
Thanks & regards,
Timmie
###code
import numpy as np
import numpy.ma as ma
import scikits.timeseries as ts
data = np.arange(0, 40800)
start_dt = ts.Date(freq='H', year=2004, month=3, day=1, hour=0)
s_all = ts.time_series(data, freq='H', start_date=start_dt)
More information about the SciPy-User
mailing list