Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Bundle of TimeSeries #172

Open
mvcisback opened this issue Nov 14, 2017 · 1 comment
Open

Feature Request: Bundle of TimeSeries #172

mvcisback opened this issue Nov 14, 2017 · 1 comment

Comments

@mvcisback
Copy link

In #169 I outlined a use case for Domains. In writing up that usecase, I realized that I could also work with a "Bundle" TimeSeries. Namely, I often work with a number of boolean valued time series whose values are constant for large periods of time. However, combining the time series multiplies the number of points required to represent the time series (particularly if combined with a real valued signal).

My current solution has been to create a dictionary of TimeSeries objects, but this ran into problems when the timeseries are defined on different domains. It would be nice to have an object that "bundles" multiple TimeSeries objects but asserts that they all have the same domain.

@zackdrescher
Copy link
Contributor

I was just thinking this today. I've used the dictionary of time series approach too. Along with the weird domains its also inefficient if you want to apply a function (moving_average in my case) too all of them.
A thought would be using a TimeSeries with a sort of collection as the value, that way they all share the same index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants