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

Adding new variables for docstring #48831

Closed
wants to merge 1 commit into from
Closed

Conversation

Sherry3
Copy link

@Sherry3 Sherry3 commented Sep 28, 2022

I am creating this PR to get comments on whether this solution is correct or not.

Solution - The Timestamp class is inheriting from datetime. Values of month, day, hour, minute, second and microsecond variables are used of that of datetime class. To add the docstring, I am proposing to create one new variable for each. I have added a variable for hour as an example.

I don't know whether it will affect performance and memory usage. Do we have some existing mechanism to measure it and then compare with old results?

Copy link
Member

@phofl phofl left a comment

Choose a reason for hiding this comment

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

not sure if we want to add code just to get the docs rendering correctly.

@Sherry3
Copy link
Author

Sherry3 commented Sep 28, 2022

@phofl Thanks for the feedback. I am closing this PR, to search for some other way to add docstring.

@Sherry3 Sherry3 closed this Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: GL08 errors in pandas.Timestamp
2 participants