Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Aniketsy
Copy link
Contributor

@Aniketsy Aniketsy commented Sep 6, 2025

#62259.

This PR improves the error message shown when a user specifies a previously-deprecated frequency alias (such as "H", "T", or "S") .

Now, if a deprecated alias is used, the error message clearly states that the alias was removed and suggests the correct replacement (e.g., "Invalid frequency 'H'. This alias was deprecated and removed. Did you mean 'h'?").

Please let me know if my approach or fix needs any improvements . I’m open to feedback and happy to make changes based on suggestions.
Thankyou !

@Aniketsy
Copy link
Contributor Author

Aniketsy commented Sep 7, 2025

@jorisvandenbossche Could you please review it when you get time?
Thanks!

@simonjayhawkins simonjayhawkins added Error Reporting Incorrect or improved errors from pandas Frequency DateOffsets labels Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Reporting Incorrect or improved errors from pandas Frequency DateOffsets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants