Skip to content

DOC: Enforce Numpy Docstring Validation for pandas.Timestamp.days_in_month #58535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.Timestamp.day_of_year 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" \
-i "pandas.Timestamp.floor SA01" \
-i "pandas.Timestamp.fold GL08" \
Expand Down
5 changes: 5 additions & 0 deletions pandas/_libs/tslibs/timestamps.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,11 @@ cdef class _Timestamp(ABCTimestamp):
-------
int

See Also
--------
Timestamp.month_name : Return the month name of the Timestamp with
specified locale.

Examples
--------
>>> ts = pd.Timestamp(2020, 3, 14)
Expand Down
Loading