bigframes.pandas.MultiIndex.dropna#

MultiIndex.dropna(how:Literal['all','any']='any')Index#

Return Index without NA/NaN values.

Examples:

>>>idx=bpd.Index([1,np.nan,3])>>>idx.dropna()Index([1.0, 3.0], dtype='Float64')
Parameters:

how ({'any','all'},default 'any') – If the Index is a MultiIndex, drop the value when any or all levelsare NaN.

Returns:

bigframes.pandas.Index

Raises:

ValueError – Ifhow is notany orall

On this page

This Page