Skip to content

DOC: added example to Series.map showing use of na_action parameter (GH14231) #14232

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

Merged
merged 1 commit into from
Sep 16, 2016

Conversation

shawnheide
Copy link
Contributor

Added example to Series.map showing use of na_action parameter.

@codecov-io
Copy link

codecov-io commented Sep 15, 2016

Current coverage is 85.24% (diff: 100%)

Merging #14232 into master will increase coverage by <.01%

@@             master     #14232   diff @@
==========================================
  Files           140        140          
  Lines         50559      50559          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits          43099      43100     +1   
+ Misses         7460       7459     -1   
  Partials          0          0          

Powered by Codecov. Last update 5e2f9da...b847717

@@ -2101,8 +2101,16 @@ def map(self, arg, na_action=None):
na_action : {None, 'ignore'}
If 'ignore', propagate NA values
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you maybe add here "without passing them to the mapper" or something? (not sure about 'mapper', but not directly thinking of a better word).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great suggestion. Updated and squashed commits.

…additional example to Series.map that shows use of na_action parameter.

added text to parameter description
@jorisvandenbossche jorisvandenbossche changed the title DOC: closes #14231, added additional example to Series.map that shows… DOC: added example to Series.map showing use of na_action parameter (GH14231) Sep 16, 2016
@jorisvandenbossche jorisvandenbossche merged commit e596cbf into pandas-dev:master Sep 16, 2016
@jorisvandenbossche
Copy link
Member

@shawnheide Thanks a lot!

@jorisvandenbossche jorisvandenbossche added this to the 0.19.0 milestone Sep 16, 2016
@shawnheide shawnheide deleted the DOC_14231 branch December 14, 2016 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: Series.map na_action confusion
3 participants