Make it possible to easily generate time series
See original GitHub issueThis is a follow-on idea from #8540, particularly https://github.com/astropy/astropy/pull/8540#issuecomment-482948959 and https://github.com/astropy/astropy/pull/8540#issuecomment-484507538 . The idea is to add another way of creating TimeSeries
by doing time.series()
(where time
is a Time
object).
TBD: whether keywords should be allowed to have more control of TimeSeries
creation - e.g. adding more data columns.
(I’m initially milestoning it for 4.0 but it could get pulled up to 3.2 as a quick follow-on to #8540 if I find time and someone can review it by tomorrow.)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Creating synthetic time series data | by Alexander Watson
In this post, we will create synthetic versions of a time-series dataset using Gretel.ai's synthetic data library, visualize and analyze the ...
Read more >Generate Synthetic Time-series Data with Open-source Tools
The simplest way to use our model is with your training data in a pandas DataFrame. For this setup, the data must be...
Read more >python - Generating artificial time series data
This article is great to generate time series data in python. Hope this helps.
Read more >How to generate sequential, time-series synthetic data - Hazy
With time-series data, each data point is conditional on a potentially very large history of events. The synthetic data generator is no longer ......
Read more >How to Use the TimeseriesGenerator for Time Series ...
You can create an instance of the class and specify the input and output aspects of your time series problem and it will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not fully convinced we really need this - after all, the Zen of Python says
There should be one-- and preferably only one --obvious way to do it.
What would be the benefit of being able to do
Time.series
? Would it be for use in contexts other than theTimeSeries
class?Would it make more sense to focus on making sure that e.g.
np.linspace
works forTime
as @mhvk mentioned in #8540?I can try and clarify the docs next week! Indeed you can just do
TimeSeries(time=timeobj, data=...)