diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 692b86ec731c9..e5b05ac141716 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -216,10 +216,8 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Timestamp.min PR02" \ -i "pandas.Timestamp.minute GL08" \ -i "pandas.Timestamp.month GL08" \ - -i "pandas.Timestamp.month_name SA01" \ -i "pandas.Timestamp.nanosecond GL08" \ -i "pandas.Timestamp.normalize SA01" \ - -i "pandas.Timestamp.quarter SA01" \ -i "pandas.Timestamp.replace PR07,SA01" \ -i "pandas.Timestamp.resolution PR02" \ -i "pandas.Timestamp.second GL08" \ diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx index 369184d9df40c..14d3004c56ec1 100644 --- a/pandas/_libs/tslibs/timestamps.pyx +++ b/pandas/_libs/tslibs/timestamps.pyx @@ -802,6 +802,10 @@ cdef class _Timestamp(ABCTimestamp): ------- str + See Also + -------- + Timestamp.day_name : Return the day name of the Timestamp with specified locale. + Examples -------- >>> ts = pd.Timestamp('2020-03-14T15:32:52.192548651') @@ -896,6 +900,11 @@ cdef class _Timestamp(ABCTimestamp): ------- int + See Also + -------- + Timestamp.is_quarter_end : Check if date is last day of the quarter. + Timestamp.is_quarter_start : Check if the date is the first day of the quarter. + Examples -------- >>> ts = pd.Timestamp(2020, 3, 14)