Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDOC: TimeStamp.strftime() missing argument description #36745
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.
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