Skip to content

DEPR: PeriodIndex.__new__ accepting ordinals, fields #55960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jbrockmendel opened this issue Nov 14, 2023 · 0 comments · Fixed by #55963
Closed

DEPR: PeriodIndex.__new__ accepting ordinals, fields #55960

jbrockmendel opened this issue Nov 14, 2023 · 0 comments · Fixed by #55963
Labels
Bug Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@jbrockmendel
Copy link
Member

jbrockmendel commented Nov 14, 2023

Let's implement PeriodIndex.from_fields and PeriodIndex.from_ordinals and deprecate allowing mixing-and-matching in the constructor.

@jbrockmendel jbrockmendel added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant