Previous topic

scikits.timeseries.TimeSeries.tofile

Next topic

scikits.timeseries.TimeSeries.tolist

This Page

scikits.timeseries.TimeSeries.toflex

TimeSeries.toflex()

Transforms a TimeSeries into a structured array with three fields:.

  • the _dates field stores the date information;
  • the _data field stores the _data part of the series;
  • the _mask field stores the mask.
Returns:

record : ndarray

A new flexible-type ndarray with three fields: the first element contains the date (as an integer), the second element contains the corresponding value and the third the corresponding mask boolean. The returned record shape matches the shape of the instance.