timeatlas.time_series_dataset.TimeSeriesDataset.create¶
-
static
TimeSeriesDataset.
create
(length: int, start: str, end: str, freq: Union[str, TimeSeries] = None) → timeatlas.time_series_dataset.time_series_dataset.TimeSeriesDataset¶ Create an empty TimeSeriesDataset object with a defined index and period
- Parameters
length – int representing the number of TimeSeries to include in the TimeSeriesDataset
start – str of the start of the DatetimeIndex (as in Pandas.date_range())
end – the end of the DatetimeIndex (as in Pandas.date_range())
freq – the optional frequency it can be a str or a TimeSeries (to copy its frequency)
- Returns
TimeSeriesDataset