-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: sort=bool keyword argument for index.difference #17839
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
Comments
+1 for this (and all the other set-ops). @mcocdawc are you interested in submitting a pull request? |
Interested definetely, but I don't have time for it now. :( |
I am interested in submitting a pull request. Can I? |
sure |
ENH: sort=bool keyword argument for index.difference pandas-dev#17839
ENH: sort=bool keyword argument for index.difference pandas-dev#17839
Oops, I am almost done patching in all Index classes. |
If the |
The set methods all have sort keyword. Closing a complete. |
I often want to remove certain elements from an index while retaining the original ordering of the index. For this reason a sort keyword in the
index.difference
method would be required:I think that this usecase appears frequently and setting the default to
sort=True
doesn't affect existing code.The text was updated successfully, but these errors were encountered: