-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Make Series.map() documentation a bit more verbose #15235
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
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 a lot!
Now you are at it, could you also add the construction of the objects used in the examples? (so the example can be copy pasted to try out yourself)
@@ -2138,6 +2138,14 @@ def map(self, arg, na_action=None): | |||
two bar | |||
three baz | |||
|
|||
>>> z |
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 add a single sentence between the examples? Like "Mapping a dictionary works similar as with a Series (mapping dict keys on index labels): "
@@ -2138,6 +2138,14 @@ def map(self, arg, na_action=None): | |||
two bar | |||
three baz | |||
|
|||
>>> z |
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.
Could you add a single sentence between the examples? Eg something like "Mapping a dict works similarly to mapping a Series (the dict keys are mapped on the index labels): "
Thanks for the quick response. I have added some text and added more code to be able to reproduce 'at home'. |
Current coverage is 86.31% (diff: 100%)@@ master #15235 diff @@
==========================================
Files 139 139
Lines 51091 51091
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 44099 44099
Misses 6992 6992
Partials 0 0
|
thanks! |
Author: manuels <[email protected]> Closes pandas-dev#15235 from manuels/patch-1 and squashes the following commits: c5113f2 [manuels] Make Series.map() documentation a bit more verbose
No description provided.