Skip to content

REF: rename DateOffset -> RelativeDeltaOffset #48262

Open
@jbrockmendel

Description

@jbrockmendel

It used to be that DateOffset was the base class and all other offsets subclassed it. Now BaseOffset is the base class that everything subclasses, RelativeDeltaOffset holds the old-DateOffset logic, and DateOffset is a thin wrapper around RelativeDeltaOffset to make old isinstance(obj, DateOffset) checks work.

It'd be nice if we could expose RelativeDeltaOffset without wrapping it as DateOffset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeprecateFunctionality to remove in pandasFrequencyDateOffsetsNeeds DiscussionRequires discussion from core team before further action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions