Skip to content

Commit ba3a442

Browse files
gabrielclowjreback
authored andcommitted
Documentation fix for method last_valid_index (#18681)
1 parent f6e4292 commit ba3a442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4320,7 +4320,7 @@ def first_valid_index(self):
43204320
return valid_indices[0] if len(valid_indices) else None
43214321

43224322
@Appender(_shared_docs['valid_index'] % {
4323-
'position': 'first', 'klass': 'DataFrame'})
4323+
'position': 'last', 'klass': 'DataFrame'})
43244324
def last_valid_index(self):
43254325
if len(self) == 0:
43264326
return None

0 commit comments

Comments
 (0)