-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: TimeStamp.strftime() missing argument description #36745
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
Comments
I think this is a CPython issue. We subclass In [9]: pd.Timestamp.strftime is datetime.datetime.strftime
Out[9]: True |
@TomAugspurger So how does the doc page for |
The docstring is inherited as well, so We could override the method just to add a more elaborate docstring. |
I think we'd have to also make sure it picks up the parameter correctly. If you look at the current doc, it doesn't indicate that Is this possibly an issue with how the methods for |
That's again still an issue with |
The documentation is now clearer than before. This commit should help pandas-dev/pandas#36745.
take |
Hi, does solution to #37559 resolve this? I'm unsure despite the open tag and would appreciate other people's opinions on if this still needs addressing. If unresolved, is ~/pandas/_libs/tslibs/timestamps.pyx the correct file to change the documentation in? |
I think this is being resolved in python/cpython#20677. Nothing to do in pandas. @7astro7 let us know if you need help finding another issue. |
It was actually resolved by #37559 on the pandas side. That PR added a |
Location of the documentation
https://pandas.pydata.org/docs/dev/reference/api/pandas.Timestamp.strftime.html?highlight=strftime#pandas.Timestamp.strftime
Documentation problem
The argument for
TimeStamp.strftime()
is missing in the docsSuggested fix for documentation
Argument is a format string. Should reference python docs https://docs.python.org/3/library/datetime.html
The text was updated successfully, but these errors were encountered: