Skip to content

BUG: Collision between equivalent frequencies 'QS-… #61142

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
wants to merge 8 commits into from
Prev Previous commit
Next Next commit
BUG: Collision between equivalent frequencies 'QS-FEB' and 'QS-NOV'
  • Loading branch information
ycdjun committed Mar 20, 2025
commit 12ef20af8a4fd717214f6aab8193a9609876511e
5 changes: 0 additions & 5 deletions pandas/core/arrays/datetimelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -2520,11 +2520,6 @@ def _validate_inferred_freq(
freq : DateOffset or None
"""


def _validate_inferred_freq(freq, inferred_freq):
"""
Ensure that freq matches inferred_freq unless they are logically equivalent.
"""
if inferred_freq is not None:
if freq is not None:
offset1, offset2 = to_offset(freq), to_offset(inferred_freq)
Expand Down