timeatlas.time_series.TimeSeries.create¶
-
static
TimeSeries.
create
(start: str, end: str, freq: Union[str, TimeSeries] = None, metadata: timeatlas.metadata.metadata.Metadata = None) → timeatlas.time_series.time_series.TimeSeries¶ Creates an empty TimeSeries object with the period as index
- Parameters
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)
metadata – the optional Metadata object
- Returns
TimeSeries