pandas.timedelta_range()

pandas.timedelta_range

pandas.timedelta_range(start=None, end=None, periods=None, freq='D', name=None, closed=None)

Return a fixed frequency timedelta index, with day as the default frequency

Parameters:

start : string or timedelta-like, default None

Left bound for generating dates

end : string or datetime-like, default None

Right bound for generating dates

periods : integer or None, default None

If None, must specify start and end

freq : string or DateOffset, default ‘D’ (calendar daily)

Frequency strings can have multiples, e.g. ‘5H’<