Skip to content

Commit 69a925c

Browse files
committed
Fix is_datetime64tz_dtype
1 parent ef83e91 commit 69a925c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
123123
-i "pandas.Timestamp.tzinfo GL08" \
124124
-i "pandas.Timestamp.year GL08" \
125125
-i "pandas.api.extensions.ExtensionArray.interpolate PR01,SA01" \
126-
-i "pandas.api.types.is_datetime64tz_dtype SA01" \
127126
-i "pandas.api.types.is_dict_like PR07,SA01" \
128127
-i "pandas.api.types.is_extension_array_dtype SA01" \
129128
-i "pandas.api.types.is_file_like PR07,SA01" \

pandas/core/dtypes/common.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,13 @@ def is_datetime64tz_dtype(arr_or_dtype) -> bool:
323323
boolean
324324
Whether or not the array-like or dtype is of a DatetimeTZDtype dtype.
325325
326+
See Also
327+
--------
328+
api.types.is_datetime64_dtype: Check whether an array-like or
329+
dtype is of the datetime64 dtype.
330+
api.types.is_datetime64_any_dtype: Check whether the provided array or
331+
dtype is of the datetime64 dtype.
332+
326333
Examples
327334
--------
328335
>>> from pandas.api.types import is_datetime64tz_dtype

0 commit comments

Comments
 (0)