Site Navigation
Return Index without NA/NaN values.
If the Index is a MultiIndex, drop the value when any or all levelsare NaN.
Examples
>>>idx=pd.Index([1,np.nan,3])>>>idx.dropna()Index([1.0, 3.0], dtype='float64')
Index.dropna()