ENH: infer freq in timedelta_range #36634
Labels
Enhancement
Needs Discussion
Requires discussion from core team before further action
Timedelta
Timedelta data type
xref #36582, #35897, #36595, #32377, #31195
there may be cases where a frequency should not be inferred by timedelta_range due to rounding issues
e.g.
pd.timedelta_range('0s','1s', periods=31)
The docs https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.timedelta_range.html begin 'Return a fixed frequency TimedeltaIndex...' so having None (no inferred frequency) maybe not desirable.
cc @jbrockmendel @jreback @phofl
The text was updated successfully, but these errors were encountered: