-
-
Notifications
You must be signed in to change notification settings - Fork 19k
DOC: clarify Series.map behavior for categorical dtype #62338
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
DOC: clarify Series.map behavior for categorical dtype #62338
Conversation
pandas/core/arrays/categorical.py
Outdated
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.
Can you show this in the Examples
section instead?
pandas/core/series.py
Outdated
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.
I think this is sufficiently shown in the example below
moved categorical note into Categorical.map Examples and removed redundant paragraph from Series.map Note
can you get the CI passing
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.