diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 9806e7177c9b9..eb717271b719d 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -319,8 +319,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Timestamp.ctime SA01" \ -i "pandas.Timestamp.date SA01" \ -i "pandas.Timestamp.day GL08" \ - -i "pandas.Timestamp.day_of_week SA01" \ - -i "pandas.Timestamp.dayofweek 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 d2468efd9783d..31c9681462a10 100644 --- a/pandas/_libs/tslibs/timestamps.pyx +++ b/pandas/_libs/tslibs/timestamps.pyx @@ -841,6 +841,12 @@ cdef class _Timestamp(ABCTimestamp): ------- int + See Also + -------- + Timestamp.isoweekday : Return the ISO day of the week represented by the date. + Timestamp.weekday : Return the day of the week represented by the date. + Timestamp.day_of_year : Return day of the year. + Examples -------- >>> ts = pd.Timestamp(2020, 3, 14)