From b24dd5a8a583026a42badf86960d829bc19bcd07 Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Thu, 2 May 2024 21:08:27 +0530 Subject: [PATCH 1/3] DOC: add SA01 for pandas.Timestamp.day_of_year --- pandas/_libs/tslibs/timestamps.pyx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx index 82daa6d942095..c606c89aee72e 100644 --- a/pandas/_libs/tslibs/timestamps.pyx +++ b/pandas/_libs/tslibs/timestamps.pyx @@ -853,6 +853,10 @@ cdef class _Timestamp(ABCTimestamp): ------- int + See Also + -------- + Timestamp.day_of_week : Return day of the week. + Examples -------- >>> ts = pd.Timestamp(2020, 3, 14) From 4820b55484268bb7bcaab7ac4370ec0040608a7c Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Thu, 2 May 2024 21:10:00 +0530 Subject: [PATCH 2/3] DOC: remove SA01 for pandas.Timestamp.day_of_year --- ci/code_checks.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 996f361e9440f..eb346bbc4aafb 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -328,7 +328,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Timestamp.day GL08" \ -i "pandas.Timestamp.day_name SA01" \ -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.days_in_month SA01" \ From 2d03ef04bc7a67ead7953de4b2944bc694ba9a38 Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Thu, 2 May 2024 21:10:18 +0530 Subject: [PATCH 3/3] DOC: remove SA01 for pandas.Timestamp.dayofyear --- ci/code_checks.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index eb346bbc4aafb..6289f1ca20b5b 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -329,7 +329,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Timestamp.day_name SA01" \ -i "pandas.Timestamp.day_of_week SA01" \ -i "pandas.Timestamp.dayofweek SA01" \ - -i "pandas.Timestamp.dayofyear SA01" \ -i "pandas.Timestamp.days_in_month SA01" \ -i "pandas.Timestamp.daysinmonth SA01" \ -i "pandas.Timestamp.dst SA01" \