Skip to content

Commit 904bfe0

Browse files
DOC: add SA01 for pandas.api.types.is_timedelta64_dtype (#58787)
1 parent 56499b6 commit 904bfe0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
342342
-i "pandas.api.types.is_signed_integer_dtype SA01" \
343343
-i "pandas.api.types.is_sparse SA01" \
344344
-i "pandas.api.types.is_string_dtype SA01" \
345-
-i "pandas.api.types.is_timedelta64_dtype SA01" \
346345
-i "pandas.api.types.is_timedelta64_ns_dtype SA01" \
347346
-i "pandas.api.types.is_unsigned_integer_dtype SA01" \
348347
-i "pandas.api.types.pandas_dtype PR07,RT03,SA01" \

pandas/core/dtypes/common.py

+7
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,13 @@ def is_timedelta64_dtype(arr_or_dtype) -> bool:
362362
boolean
363363
Whether or not the array-like or dtype is of the timedelta64 dtype.
364364
365+
See Also
366+
--------
367+
api.types.is_timedelta64_ns_dtype : Check whether the provided array or dtype is
368+
of the timedelta64[ns] dtype.
369+
api.types.is_period_dtype : Check whether an array-like or dtype is of the
370+
Period dtype.
371+
365372
Examples
366373
--------
367374
>>> from pandas.core.dtypes.common import is_timedelta64_dtype

0 commit comments

Comments
 (0)