Skip to content

API: make 'freq' mean the same thing for PeriodIndex as DTI/TDI #47227

Open
@jbrockmendel

Description

@jbrockmendel

ATM PeriodIndex.freq tells us about the index's dtype, while DatetimeIndex.freq tells us about the difference between any two consecutive elements.

Changing PeriodIndex.freq would let us share more code.

update If we do this, we should also deprecate PeriodIndex.is_full, which seems to be a kludge for checking if the index is freq-like in the DTI sense

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions