Skip to content

Bug: raise TypeError when doing infer_freq using RangeIndex #48497

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

Merged
merged 6 commits into from
Sep 13, 2022

Conversation

ambujpawar
Copy link
Contributor

@ambujpawar ambujpawar commented Sep 10, 2022

Copy link
Member

@phofl phofl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add a whatsnew?

@ambujpawar ambujpawar requested a review from phofl September 12, 2022 07:06
@mroeschke mroeschke added the Frequency DateOffsets label Sep 12, 2022
@ambujpawar ambujpawar requested review from mroeschke and removed request for phofl September 12, 2022 21:45
@mroeschke mroeschke added this to the 1.6 milestone Sep 13, 2022
@mroeschke
Copy link
Member

LGTM pending @phofl review.

@ambujpawar ambujpawar requested a review from phofl September 13, 2022 07:23
@phofl phofl merged commit 5514aa3 into pandas-dev:main Sep 13, 2022
@phofl
Copy link
Member

phofl commented Sep 13, 2022

thx @ambujpawar

@ambujpawar ambujpawar deleted the infer_freq_returns_typeerror branch September 13, 2022 08:22
@mroeschke mroeschke modified the milestones: 1.6, 2.0 Oct 13, 2022
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frequency DateOffsets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: pd.infer_freq() does not raise an error when called with a RangeIndex
3 participants