diff --git a/ci/code_checks.sh b/ci/code_checks.sh index d124cde769af7..9806e7177c9b9 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -320,9 +320,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Timestamp.date SA01" \ -i "pandas.Timestamp.day GL08" \ -i "pandas.Timestamp.day_of_week SA01" \ - -i "pandas.Timestamp.day_of_year SA01" \ -i "pandas.Timestamp.dayofweek SA01" \ - -i "pandas.Timestamp.dayofyear SA01" \ -i "pandas.Timestamp.dst SA01" \ -i "pandas.Timestamp.floor SA01" \ -i "pandas.Timestamp.fold GL08" \ diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx index 833607b493824..d2468efd9783d 100644 --- a/pandas/_libs/tslibs/timestamps.pyx +++ b/pandas/_libs/tslibs/timestamps.pyx @@ -858,6 +858,10 @@ cdef class _Timestamp(ABCTimestamp): ------- int + See Also + -------- + Timestamp.day_of_week : Return day of the week. + Examples -------- >>> ts = pd.Timestamp(2020, 3, 14)