Skip to content

ENH: infer freq in timedelta_range #36634

Open
@simonjayhawkins

Description

@simonjayhawkins

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNeeds DiscussionRequires discussion from core team before further actionTimedeltaTimedelta data type

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions