# pandas 3.1.0 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input

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

    Real number dtypes include integer and float types but exclude complex
    and boolean dtypes. This is useful when operations require real-valued
    numeric input only.

    Parameters
    ----------
    arr_or_dtype : array-like or dtype
        The array or dtype to check.

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

    See Also
    --------
    is_numeric_dtype : Check if a dtype is numeric.
    is_complex_dtype : Check if a dtype is complex.
    is_bool_dtype : Check if a dtype is boolean.

    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
    
=== parse numpydoc
short_description: 'Check whether the provided array or dtype is of a real number dtype.'
long_description: |
  Real number dtypes include integer and float types but exclude complex
  and boolean dtypes. This is useful when operations require real-valued
  numeric input only.
blank_after_short_description: True
blank_after_long_description: True
style: numpydoc
- DocstringParam
  description: 'The array or dtype to check.'
  kind: param
  key: 'param'
  arg_name: 'arr_or_dtype'
  type_name: 'array-like or dtype'
  is_optional: False
- DocstringReturns
  description: 'Whether or not the array or dtype is of a real number dtype.'
  kind: returns
  key: 'returns'
  type_name: 'boolean'
  is_generator: False
- DocstringMeta
  description: |
    is_numeric_dtype : Check if a dtype is numeric.
    is_complex_dtype : Check if a dtype is complex.
    is_bool_dtype : Check if a dtype is boolean.
  kind: text
  key: 'see_also'
  title: 'See Also'
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: '>>> from pandas.api.types import is_any_real_numeric_dtype'
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: |
    >>> is_any_real_numeric_dtype(int)
    True
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: |
    >>> is_any_real_numeric_dtype(float)
    True
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: |
    >>> is_any_real_numeric_dtype(object)
    False
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: |
    >>> is_any_real_numeric_dtype(str)
    False
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: |
    >>> is_any_real_numeric_dtype(complex(1, 2))
    False
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: |
    >>> is_any_real_numeric_dtype(bool)
    False
=== detect
numpydoc
=== compose numpydoc
Check whether the provided array or dtype is of a real number dtype.

Real number dtypes include integer and float types but exclude complex
and boolean dtypes. This is useful when operations require real-valued
numeric input only.

Parameters
----------
arr_or_dtype : array-like or dtype
    The array or dtype to check.

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

See Also
--------
is_numeric_dtype : Check if a dtype is numeric.
is_complex_dtype : Check if a dtype is complex.
is_bool_dtype : Check if a dtype is boolean.

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
