failure on creating a Scikits.TimeSeries object
Posted
by user311906
on Stack Overflow
See other posts from Stack Overflow
or by user311906
Published on 2010-06-02T09:12:16Z
Indexed on
2010/06/02
9:13 UTC
Read the original article
Hit count: 239
Hi All
I am trying to create a scikit.timeseries
object starting from
2 datetime objects.
If I understood correctly it should be possible to create a
scikits.timeseries
starting from datetime
objects.
I try the following code but it says that Insufficient parameters.
The 2 datetime differs for few microseconds. In this case what should be
the value for freq
parameter?
Is what I am trying allowed? In theory, since timeseries can be based on datetime objects it should be possible to hanlde up to microsecond , is this correct?
I think that this is not really clear to me.
Regards Eo
import datetime import sckilits.timeseries as ts tm1 = datetime.datetime( 2010,1,1, 10,10,2, 123456 ) tm2 = datetime.datetime( 2010,1,1, 10,10,2, 345678 ) d = [ tm1, tm2 ] tseries = ts.time_series( dates=d ) tseries = ts.time_series( d )
© Stack Overflow or respective owner