File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -574,9 +574,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
574
574
pandas.api.types.is_datetime64_ns_dtype \
575
575
pandas.api.types.is_datetime64tz_dtype \
576
576
pandas.api.types.is_integer_dtype \
577
- pandas.api.types.is_interval_dtype \
578
- pandas.api.types.is_period_dtype \
579
- pandas.api.types.is_signed_integer_dtype \
580
577
pandas.api.types.is_sparse \
581
578
pandas.api.types.is_string_dtype \
582
579
pandas.api.types.is_unsigned_integer_dtype \
Original file line number Diff line number Diff line change @@ -398,9 +398,10 @@ def is_period_dtype(arr_or_dtype) -> bool:
398
398
399
399
Examples
400
400
--------
401
+ >>> from pandas.core.dtypes.common import is_period_dtype
401
402
>>> is_period_dtype(object)
402
403
False
403
- >>> is_period_dtype(PeriodDtype(freq="D"))
404
+ >>> is_period_dtype(pd. PeriodDtype(freq="D"))
404
405
True
405
406
>>> is_period_dtype([1, 2, 3])
406
407
False
@@ -434,9 +435,10 @@ def is_interval_dtype(arr_or_dtype) -> bool:
434
435
435
436
Examples
436
437
--------
438
+ >>> from pandas.core.dtypes.common import is_interval_dtype
437
439
>>> is_interval_dtype(object)
438
440
False
439
- >>> is_interval_dtype(IntervalDtype())
441
+ >>> is_interval_dtype(pd. IntervalDtype())
440
442
True
441
443
>>> is_interval_dtype([1, 2, 3])
442
444
False
@@ -727,6 +729,7 @@ def is_signed_integer_dtype(arr_or_dtype) -> bool:
727
729
728
730
Examples
729
731
--------
732
+ >>> from pandas.core.dtypes.common import is_signed_integer_dtype
730
733
>>> is_signed_integer_dtype(str)
731
734
False
732
735
>>> is_signed_integer_dtype(int)
You can’t perform that action at this time.
0 commit comments