A RetroSearch Logo

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

Search Query:

Showing content from https://pandas.pydata.org/docs/reference/api/pandas.api.types.is_any_real_numeric_dtype.html below:

pandas.api.types.is_any_real_numeric_dtype — pandas 2.3.1 documentation

pandas.api.types.is_any_real_numeric_dtype#
pandas.api.types.is_any_real_numeric_dtype(arr_or_dtype)[source]#

Check whether the provided array or dtype is of a real number dtype.

Parameters:
arr_or_dtypearray-like or dtype

The array or dtype to check.

Returns:
boolean

Whether or not the array or dtype is of a real number dtype.

Examples

>>> from pandas.api.types import is_any_real_numeric_dtype
>>> is_any_real_numeric_dtype(int)
True
>>> is_any_real_numeric_dtype(float)
True
>>> is_any_real_numeric_dtype(object)
False
>>> is_any_real_numeric_dtype(str)
False
>>> is_any_real_numeric_dtype(complex(1, 2))
False
>>> is_any_real_numeric_dtype(bool)
False

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