-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
Duplicate ReportDuplicate issue or pull requestDuplicate issue or pull requestIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselves
Description
Similar to this one, but on a non-empty DataFrame whose values are all NaN.
This raises an error, instead of returning None
pd.Series([np.nan]).first_valid_index() # this returns None
pd.DataFrame([np.nan]).first_valid_index() # raise error
>>> pd.__version__
u'0.18.1'
Metadata
Metadata
Assignees
-
3F07
ul>
Labels
Duplicate ReportDuplicate issue or pull requestDuplicate issue or pull requestIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselves