We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I find this when I am writing the pull request #1098. As it is loosely related to the pull request, I am reporting here as a separate issue.
It looks like dtype does not support sorting:
>>> from numpy import dtype >>> sorted([dtype('bool'), dtype('float64'), dtype('complex64'), ... dtype('float64'), dtype('object')]) [dtype('bool'), dtype('float64'), dtype('complex64'), dtype('float64'), dtype('object')]
core.internals._consolidate relies sortability of dtype. Probably it is better to sort using dtype.name as I did in bae8155?
core.internals._consolidate
dtype
dtype.name
The text was updated successfully, but these errors were encountered:
Fixed by da8bc6c. Thanks for merging it!
Sorry, something went wrong.
No branches or pull requests
I find this when I am writing the pull request #1098. As it is loosely related to the pull request, I am reporting here as a separate issue.
It looks like dtype does not support sorting:
core.internals._consolidate
relies sortability ofdtype
. Probably it is better to sort usingdtype.name
as I did in bae8155?The text was updated successfully, but these errors were encountered: