Skip to content

Commit 44c30ac

Browse files
authored
DOC Correcting EX02 errors (#51217)
1 parent 61f0936 commit 44c30ac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ci/code_checks.sh

-3
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
590590
pandas.Series.sparse.sp_values \
591591
pandas.Timestamp.fromtimestamp \
592592
pandas.api.types.infer_dtype \
593-
pandas.api.types.is_any_real_numeric_dtype \
594593
pandas.api.types.is_bool_dtype \
595594
pandas.api.types.is_categorical_dtype \
596595
pandas.api.types.is_complex_dtype \
@@ -602,8 +601,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
602601
pandas.api.types.is_int64_dtype \
603602
pandas.api.types.is_integer_dtype \
604603
pandas.api.types.is_interval_dtype \
605-
pandas.api.types.is_iterator \
606-
pandas.api.types.is_list_like \
607604
pandas.api.types.is_named_tuple \
608605
pandas.api.types.is_numeric_dtype \
609606
pandas.api.types.is_object_dtype \

pandas/_libs/lib.pyx

+2
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ def is_iterator(obj: object) -> bool:
276276
Examples
277277
--------
278278
>>> import datetime
279+
>>> from pandas.api.types import is_iterator
279280
>>> is_iterator((x for x in []))
280281
True
281282
>>> is_iterator([1, 2, 3])
@@ -1126,6 +1127,7 @@ def is_list_like(obj: object, allow_sets: bool = True) -> bool:
11261127
Examples
11271128
--------
11281129
>>> import datetime
1130+
>>> from pandas.api.types import is_list_like
11291131
>>> is_list_like([1, 2, 3])
11301132
True
11311133
>>> is_list_like({1, 2, 3})

pandas/core/dtypes/common.py

+1
Original file line numberDiff line numberDiff line change
@@ -1177,6 +1177,7 @@ def is_any_real_numeric_dtype(arr_or_dtype) -> bool:
11771177
11781178
Examples
11791179
--------
1180+
>>> from pandas.api.types import is_any_real_numeric_dtype
11801181
>>> is_any_real_numeric_dtype(int)
11811182
True
11821183
>>> is_any_real_numeric_dtype(float)

0 commit comments

Comments
 (0)