-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
FIX BUG: If both index and axis are passed to drop(), it will raise ValueError with clear message. #61855
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
base: main
Are you sure you want to change the base?
FIX BUG: If both index and axis are passed to drop(), it will raise ValueError with clear message. #61855
Conversation
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
@camriddell I have made the changes. |
Can @rhshadrach take a look and provide some guidance? If we want to maintain backwards compat. then this is likely the final form of this PR. However there is a deeper issue that is not present in either (thanks for finding these @khemkaran10) DataFrame.reindex, DataFrame.rename. Namely, those methods have a default of |
Uh oh!
There was an error while loading. Please reload this page.