A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://pandas.pydata.org/pandas-docs/stable/user_guide/../reference/api/pandas.Index.dropna.html below:

pandas.Index.dropna — pandas 2.3.1 documentation

pandas.Index.dropna#
Index.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:
Index

Examples

>>> idx = pd.Index([1, np.nan, 3])
>>> idx.dropna()
Index([1.0, 3.0], dtype='float64')

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4