JuliaStats / TimeSeries.jl

Time series toolkit for Julia
Other
353 stars 69 forks source link

Convert TimeSeries back into array #364

Closed samjurl closed 6 years ago

samjurl commented 6 years ago

Hi,

This is not an issue, just a question: is it possible to convert the TimeSeries back into an array somehow? Such that the element types can be recognized and used by Julia directly.

Basically I have made a series of calculations to end up with a TimeSeries of Boolean values, and would like to use those in conditional statements which require direct Booleans.

Best, Sam

iblislin commented 6 years ago

There is a field values. You can access it via ta.values; to accessing the time line, ta.timestamp.

samjurl commented 6 years ago

Perfect, thanks.