Skip to content

Commit b7cbea1

Browse files
authored
DOC: fix EX02 errors in docstrings (#51306)
1 parent aeb8a85 commit b7cbea1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci/code_checks.sh

-2
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
592592
pandas.api.types.is_datetime64_dtype \
593593
pandas.api.types.is_datetime64_ns_dtype \
594594
pandas.api.types.is_datetime64tz_dtype \
595-
pandas.api.types.is_float_dtype \
596-
pandas.api.types.is_int64_dtype \
597595
pandas.api.types.is_integer_dtype \
598596
pandas.api.types.is_interval_dtype \
599597
pandas.api.types.is_numeric_dtype \

pandas/core/dtypes/common.py

+2
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,7 @@ def is_int64_dtype(arr_or_dtype) -> bool:
832832
833833
Examples
834834
--------
835+
>>> from pandas.api.types import is_int64_dtype
835836
>>> is_int64_dtype(str)
836837
False
837838
>>> is_int64_dtype(np.int32)
@@ -1216,6 +1217,7 @@ def is_float_dtype(arr_or_dtype) -> bool:
12161217
12171218
Examples
12181219
--------
1220+
>>> from pandas.api.types import is_float_dtype
12191221
>>> is_float_dtype(str)
12201222
False
12211223
>>> is_float_dtype(int)

0 commit comments

Comments
 (0)