Skip to content

DOC: update the pandas.Index.drop_duplicates and pandas.Series.drop_duplicates docstring #20114

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 15 commits into from
Mar 10, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adjust how parameter False is denoted
  • Loading branch information
DaanVanHauwermeiren committed Mar 10, 2018
commit dd9d3a4baf65dc98357ff52e53880d01cfb70fc1
2 changes: 1 addition & 1 deletion pandas/core/indexes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4027,7 +4027,7 @@ def drop_duplicates(self, keep='first'):

Parameters
----------
keep : {'first', 'last', False}, default 'first'
keep : {'first', 'last', ``False``}, default 'first'
- 'first' : Drop duplicates except for the first occurrence.
- 'last' : Drop duplicates except for the last occurrence.
- ``False`` : Drop all duplicates.
Expand Down