File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -589,9 +589,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
589
589
pandas.Series.sparse.sp_values \
590
590
pandas.Timestamp.fromtimestamp \
591
591
pandas.api.types.infer_dtype \
592
- pandas.api.types.is_bool_dtype \
593
- pandas.api.types.is_categorical_dtype \
594
- pandas.api.types.is_complex_dtype \
595
592
pandas.api.types.is_datetime64_any_dtype \
596
593
pandas.api.types.is_datetime64_dtype \
597
594
pandas.api.types.is_datetime64_ns_dtype \
Original file line number Diff line number Diff line change @@ -469,6 +469,8 @@ def is_categorical_dtype(arr_or_dtype) -> bool:
469
469
470
470
Examples
471
471
--------
472
+ >>> from pandas.api.types import is_categorical_dtype
473
+ >>> from pandas import CategoricalDtype
472
474
>>> is_categorical_dtype(object)
473
475
False
474
476
>>> is_categorical_dtype(CategoricalDtype())
@@ -1253,6 +1255,7 @@ def is_bool_dtype(arr_or_dtype) -> bool:
1253
1255
1254
1256
Examples
1255
1257
--------
1258
+ >>> from pandas.api.types import is_bool_dtype
1256
1259
>>> is_bool_dtype(str)
1257
1260
False
1258
1261
>>> is_bool_dtype(int)
@@ -1405,6 +1408,7 @@ def is_complex_dtype(arr_or_dtype) -> bool:
1405
1408
1406
1409
Examples
1407
1410
--------
1411
+ >>> from pandas.api.types import is_complex_dtype
1408
1412
>>> is_complex_dtype(str)
1409
1413
False
1410
1414
>>> is_complex_dtype(int)
You can’t perform that action at this time.
0 commit comments