[SciPy-user] scikits.timeseries : Calculate previous 30 dayand30-60 day cumulative flows.

Dharhas Pothina Dharhas.Pothina at twdb.state.tx.us
Tue Jul 14 14:34:53 EDT 2009


>>>> Pierre GM <pgmdevlist at gmail.com> 07/14/09 12:48 PM >>>
>> Now that's a strange one. Send me more info (inflows_ts,  
>> version, ...)

> OK, I've been able to reproduce the bug. I gonna investigate further  
> why we get an AttributeError, but here's a workaround already:
> Your input series is a structured array, and a lot of numerical  
> operations choke on it. You can either transform it into a non- 
> structured array with .view(dtype=float), or call mov_sum on the  
> 'inflow' field (as in mov_sum(inflows_ts['inflow'],2))

Ok good to know. I'll use the work around.

thanks,

- dharhas




More information about the SciPy-User mailing list