We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c8ccdd commit 6f9177fCopy full SHA for 6f9177f
pandas/core/frame.py
@@ -4306,7 +4306,7 @@ def first_valid_index(self):
4306
return valid_indices[0] if len(valid_indices) else None
4307
4308
@Appender(_shared_docs['valid_index'] % {
4309
- 'position': 'first', 'klass': 'DataFrame'})
+ 'position': 'last', 'klass': 'DataFrame'})
4310
def last_valid_index(self):
4311
if len(self) == 0:
4312
return None
0 commit comments