Skip to content

Commit 11a4100

Browse files
gabrielclowTomAugspurger
authored andcommitted
Documentation fix for method last_valid_index (pandas-dev#18681)
1 parent 469813d commit 11a4100

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
@@ -4306,7 +4306,7 @@ def first_valid_index(self):
43064306
return valid_indices[0] if len(valid_indices) else None
43074307

43084308
@Appender(_shared_docs['valid_index'] % {
4309-
'position': 'first', 'klass': 'DataFrame'})
4309+
'position': 'last', 'klass': 'DataFrame'})
43104310
def last_valid_index(self):
43114311
if len(self) == 0:
43124312
return None

0 commit comments

Comments
 (0)