Skip to content

Commit

Permalink
DOC: fix SA01 for pandas.arrays.DatetimeArray (#59982)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuhinsharma121 authored Oct 6, 2024
1 parent e4905bf commit 8c0777e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.api.types.is_re_compilable PR07,SA01" \
-i "pandas.api.types.pandas_dtype PR07,RT03,SA01" \
-i "pandas.arrays.ArrowExtensionArray PR07,SA01" \
-i "pandas.arrays.DatetimeArray SA01" \
-i "pandas.arrays.IntegerArray SA01" \
-i "pandas.arrays.IntervalArray.left SA01" \
-i "pandas.arrays.IntervalArray.length SA01" \
Expand Down
8 changes: 8 additions & 0 deletions pandas/core/arrays/datetimes.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,14 @@ class DatetimeArray(dtl.TimelikeOps, dtl.DatelikeOps): # type: ignore[misc]
-------
None
See Also
--------
DatetimeIndex : Immutable Index for datetime-like data.
Series : One-dimensional labeled array capable of holding datetime-like data.
Timestamp : Pandas replacement for python datetime.datetime object.
to_datetime : Convert argument to datetime.
period_range : Return a fixed frequency PeriodIndex.
Examples
--------
>>> pd.arrays.DatetimeArray._from_sequence(
Expand Down

0 comments on commit 8c0777e

Please sign in to comment.