[SciPy-user] show mssing dates in a scikits.timeseries.time_series
Timmie
timmichelsen at gmx-topmail.de
Thu Dec 18 07:34:31 EST 2008
Hello,
from http://pytseries.sourceforge.net/core/TimeSeries.html#operations-on-timeseries
>>> mlist_1 = ['2005-%02i' % i for i in range(1,10)]
>>> mlist_1 += ['2006-%02i' % i for i in range(2,13)]
>>> mdata_1 = np.arange(len(mlist_1))
>>> mser_1 = ts.time_series(mdata_1, mlist_1, freq='M')
>>> mser_1.has_missing_dates()
True
How can I print out the missing days?
In this case the months "Oct 2005" to "Jan 2006".
Thanks in advance,
Timmie
More information about the SciPy-User
mailing list