pastas.timeseries.TimeSeries.copy#
- pastas.timeseries.TimeSeries.copy(name: str | None = None) Self#
Method to copy a TimeSeries.
- Parameters:
name (str, optional) – String with the name of the model. If no name is provided, use the old name.
- Returns:
ts – Copy of the original TimeSeries with no references to the old TimeSeries.
- Return type:
Examples
>>> ts_copy = ts.copy(name="new_name")