You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "Notes" passage reads: "If all elements are non-NA/null, returns None. Also returns None for empty Series/DataFrame."
but the "non-" should not be there.
Suggested fix for documentation
The "non-" should be deleted from the "Notes" section, resulting in this:
"If all elements are NA/null, returns None. Also returns None for empty Series/DataFrame."
The text was updated successfully, but these errors were encountered:
The function is trying to return the first valid (i.e. non-NA and non-null) index in the series/frame
The docs say that if all elements are non-NA/null, returns None, which would imply that we would return None if all elements arenon-null, which I believe was not the intent
I will update this to remove the "non-" from that line. Thanks!
Pandas version checks
main
hereLocation of the documentation
pandas.Series.first_valid_index
pandas/pandas/core/generic.py
Line 12341 in ba1cccd
Documentation problem
pandas/pandas/core/generic.py
Line 12341 in ba1cccd
The "Notes" passage reads: "If all elements are non-NA/null, returns None. Also returns None for empty Series/DataFrame."
but the "non-" should not be there.
Suggested fix for documentation
The "non-" should be deleted from the "Notes" section, resulting in this:
"If all elements are NA/null, returns None. Also returns None for empty Series/DataFrame."
The text was updated successfully, but these errors were encountered: