combine_timeseries_indexes#
- openstef_core.utils.pandas.combine_timeseries_indexes(indexes: Sequence[DatetimeIndex]) DatetimeIndex[source]#
Combine multiple datetime indexes into a single sorted index.
Merges several pandas DatetimeIndex objects into one, ensuring that the resulting index is sorted and contains no duplicate timestamps.
- Parameters:
indexes (
Sequence[DatetimeIndex]) – Sequence of pandas DatetimeIndex objects to combine.indexes
- Returns:
A single pandas DatetimeIndex containing all unique timestamps from the input indexes, sorted in ascending order.
- Return type:
DatetimeIndex