Skip to content
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

DOC: Fix docstrings for Timestamp: tz_localize, tzname, utcfromtimestamp #59484

Merged

Conversation

MichaelMoyles
Copy link
Contributor

@MichaelMoyles MichaelMoyles commented Aug 11, 2024

Part of #59458

Addresses:

pandas.Timestamp.tz_localize SA01
pandas.Timestamp.tzname SA01
pandas.Timestamp.utcfromtimestamp PR01,SA01

Changes:

Added See Also section to tz_localize
Added See Also and Extended sections to tzname
Added See Also, Extended and Parameters section to utcfromtimestamp
Removed all 3 from code_checks.sh

…tzname and pandas.Timestamp.utcfromtimestamp
Copy link
Member

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to fix the NaT docstrings as well

@mroeschke mroeschke added the Docs label Aug 12, 2024
@mroeschke mroeschke added this to the 3.0 milestone Aug 12, 2024
@mroeschke mroeschke merged commit 2f75794 into pandas-dev:main Aug 12, 2024
47 checks passed
@mroeschke
Copy link
Member

Thanks @MichaelMoyles

@MichaelMoyles MichaelMoyles deleted the fix_docstring_validation_errors branch August 12, 2024 20:36
shreyas-dev pushed a commit to shreyas-dev/pandas that referenced this pull request Aug 13, 2024
…amp (pandas-dev#59484)

* updated docstring for pandas.Timestamp.tz_localize, pandas.Timestamp.tzname and pandas.Timestamp.utcfromtimestamp

* trimmed whitespace

* reducing line length

* updating NaT docstrings to match for timestamps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants