-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
more informative error message with np.min or np.max on unordered Categorical #34053
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
more informative error message with np.min or np.max on unordered Categorical #34053
Conversation
doc/source/whatsnew/v1.1.0.rst
Outdated
@@ -778,6 +778,7 @@ Other | |||
- Bug in :meth:`DataFrame.__dir__` caused a segfault when using unicode surrogates in a column name (:issue:`25509`) | |||
- Bug in :meth:`DataFrame.plot.scatter` caused an error when plotting variable marker sizes (:issue:`32904`) | |||
- :class:`IntegerArray` now implements the ``sum`` operation (:issue:`33172`) | |||
- more informative error message with ``np.min`` or ``np.max`` on unordered Categorical (:issue:`33115`) |
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.
Capitalize "more", ":class:`Categorical`"
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.
done
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.
LGTM (when the tests pass).
I think all comments addressed. will merge tomorrow if no further comments. |
…message with np.min or np.max on unordered Categorical)
…th np.min or np.max on unordered Categorical) (#34246)
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff