sup3r.preprocessing.utilities.make_time_index_from_kws#
- make_time_index_from_kws(date_range_kwargs)[source]#
Function to make a pandas DatetimeIndex from the
get_date_range_kwargs
outputs- Parameters:
date_range_kwargs (dict) – Dictionary to pass to pd.date_range(), typically produced from
get_date_range_kwargs()
. Can also include kwargdrop_leap
- Returns:
time_index (pd.DatetimeIndex) – Output time index.