Skip to content

DEPR: DatetimeIndex.snap() #27098

Open
Open
@jreback

Description

@jreback

we have a DatetimeIndex.snap, this is duplicative of our more general .ceil(), .floor() and .round() (and .to_period().to_timestamp()); the former are also generally available on all of the timelike indices (DTI, TDI, PI)

we should remove this and prefer the 3 rounding methods

Metadata

Metadata

Assignees

No one assigned

    Labels

    DatetimeDatetime data dtypeDeprecateFunctionality to remove in pandas

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions