[SciPy-User] How to concatenate timeseries

Tim Michelsen timmichelsen@gmx-topmail...
Mon Jan 4 11:19:20 CST 2010


Hello,
I am reading timeseries data from different files covering various successive
time intervals.

What is the best methoth concatenate these to one long running time series?

I tried:


import scikits.timeseries as ts
series = ts.time_series([0,1,2,3], start_date=ts.Date(freq='A', year=2005))
series1 = ts.time_series([0,1,2,3], start_date=ts.Date(freq='A', year=2009))

import numpy as np
full = np.concatenate([series, series1])

But the full series has then the frequency 'U' for undefined.

What am I missing?

Thanks,
Timmie



More information about the SciPy-User mailing list