Skip to content
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

Auto-fixes for PD use-of rules #16508

Open
allen-pattern opened this issue Mar 4, 2025 · 1 comment
Open

Auto-fixes for PD use-of rules #16508

allen-pattern opened this issue Mar 4, 2025 · 1 comment
Labels
fixes Related to suggested fixes for violations wish Not on the current roadmap; maybe in the future

Comments

@allen-pattern
Copy link

Summary

Almost of the pandas rules have auto-fixes but many of them could be added relatively trivially. PD003-PD009 in particular are simply changing the name of the method.

@ntBre ntBre added the fixes Related to suggested fixes for violations label Mar 4, 2025
@ntBre
Copy link
Contributor

ntBre commented Mar 4, 2025

Interesting, it seems like this was previously implemented in #2741, but we didn't have the ability to flag fixes as unsafe at that point. I think we could reconsider adding this now!

@MichaReiser MichaReiser added the wish Not on the current roadmap; maybe in the future label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixes Related to suggested fixes for violations wish Not on the current roadmap; maybe in the future
Projects
None yet
Development

No branches or pull requests

3 participants