pandas / 0.22.0 / generated / pandas.multiindex.dropna.html /

pandas.MultiIndex.dropna

MultiIndex.dropna(how='any') [source]

Return Index without NA/NaN values

Parameters:

how : {‘any’, ‘all’}, default ‘any’

If the Index is a MultiIndex, drop the value when any or all levels are NaN.

Returns:

valid : Index

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.MultiIndex.dropna.html