Skip to content

Commit

Permalink
DOC: Add 'See Also' for pandas.api.types.is_any_real_numeric_dtype (#…
Browse files Browse the repository at this point in the history
…59404)

Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
  • Loading branch information
ivonastojanovic and mroeschke authored Aug 5, 2024
1 parent 976c1ad commit 3b447d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.api.extensions.ExtensionArray.view SA01" \
-i "pandas.api.indexers.VariableOffsetWindowIndexer PR01,SA01" \
-i "pandas.api.interchange.from_dataframe RT03,SA01" \
-i "pandas.api.types.is_any_real_numeric_dtype SA01" \
-i "pandas.api.types.is_bool PR01,SA01" \
-i "pandas.api.types.is_bool_dtype SA01" \
-i "pandas.api.types.is_categorical_dtype SA01" \
Expand Down
6 changes: 6 additions & 0 deletions pandas/core/dtypes/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,12 @@ def is_any_real_numeric_dtype(arr_or_dtype) -> bool:
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
Expand Down

0 comments on commit 3b447d6

Please sign in to comment.