Skip to content

Commit

Permalink
Documentation fix for method last_valid_index (#18681)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielclow authored and jreback committed Dec 8, 2017
1 parent f6e4292 commit ba3a442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -4320,7 +4320,7 @@ def first_valid_index(self):
return valid_indices[0] if len(valid_indices) else None

@Appender(_shared_docs['valid_index'] % {
'position': 'first', 'klass': 'DataFrame'})
'position': 'last', 'klass': 'DataFrame'})
def last_valid_index(self):
if len(self) == 0:
return None
Expand Down

0 comments on commit ba3a442

Please sign in to comment.