Skip to content

Commit c324d9b

Browse files
tuhinsharma121pmhatre1
authored andcommitted
DOC: Enforce Numpy Docstring Validation for pandas.DatetimeTZDtype (pandas-dev#58402)
* DOC: add SA01 to pandas.DatetimeTZDtype * DOC: remove pandas.DatetimeTZDtype * DOC: add . * DOC: delete tz and tz_convert
1 parent 1f17410 commit c324d9b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
103103
-i "pandas.DatetimeIndex.std PR01,RT03" \
104104
-i "pandas.DatetimeIndex.to_period RT03" \
105105
-i "pandas.DatetimeIndex.to_pydatetime RT03,SA01" \
106-
-i "pandas.DatetimeTZDtype SA01" \
107106
-i "pandas.Grouper PR02" \
108107
-i "pandas.Index PR07" \
109108
-i "pandas.Index.append PR07,RT03,SA01" \

pandas/core/dtypes/dtypes.py

+5
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,11 @@ class DatetimeTZDtype(PandasExtensionDtype):
717717
ZoneInfoNotFoundError
718718
When the requested timezone cannot be found.
719719
720+
See Also
721+
--------
722+
numpy.datetime64 : Numpy data type for datetime.
723+
datetime.datetime : Python datetime object.
724+
720725
Examples
721726
--------
722727
>>> from zoneinfo import ZoneInfo

0 commit comments

Comments
 (0)