-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
update algo.take to solve #59177 #59181
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
Conversation
need to work on FAILED pandas/tests/dtypes/test_generic.py::TestABCClasses::test_abc_hierarchy[ABCNumpyExtensionArray-inst6-ABCExtensionArray-subs2] |
There are a few others |
pandas/core/dtypes/generic.py
Outdated
@@ -139,7 +139,13 @@ def _subclasscheck(cls, inst) -> bool: | |||
"ABCExtensionArray", | |||
"_typ", | |||
# Note: IntervalArray and SparseArray are included bc they have _typ="extension" | |||
{"extension", "categorical", "periodarray", "datetimearray", "timedeltaarray"}, | |||
{ | |||
"extension", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I correct in seeing that just for formatting here changed? i.e. There is no new elements added to this set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
short story
Indeed the set content have not changed.
long story
I first tried to resolve the issue adding one element to the set which induces black to change formatting. I realized afterwards that ABCNumpyExtensionArray already existed so I finaly used it. I forgot at the end to revert the formating change for ABCExtensionArray
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, could you undo the formatting here?
Thanks @mutricyl |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.