Skip to content

Commit b2cde72

Browse files
DOC: Enforce Numpy Docstring Validation for pandas.Timestamp.days_in_month (#58535)
* DOC: add SA01 for pandas.Timestamp.days_in_month * DOC: remove SA01 for pandas.Timestamp.days_in_month
1 parent 9b22b12 commit b2cde72

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ci/code_checks.sh

-2
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
325325
-i "pandas.Timestamp.day_of_year SA01" \
326326
-i "pandas.Timestamp.dayofweek SA01" \
327327
-i "pandas.Timestamp.dayofyear SA01" \
328-
-i "pandas.Timestamp.days_in_month SA01" \
329-
-i "pandas.Timestamp.daysinmonth SA01" \
330328
-i "pandas.Timestamp.dst SA01" \
331329
-i "pandas.Timestamp.floor SA01" \
332330
-i "pandas.Timestamp.fold GL08" \

pandas/_libs/tslibs/timestamps.pyx

+5
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,11 @@ cdef class _Timestamp(ABCTimestamp):
904904
-------
905905
int
906906

907+
See Also
908+
--------
909+
Timestamp.month_name : Return the month name of the Timestamp with
910+
specified locale.
911+
907912
Examples
908913
--------
909914
>>> ts = pd.Timestamp(2020, 3, 14)

0 commit comments

Comments
 (0)