Skip to content

Commit

Permalink
ensure NaT.strftime docstring matches Timestamp.strftime
Browse files Browse the repository at this point in the history
  • Loading branch information
abonte committed May 11, 2024
1 parent 26ae603 commit 5a548f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pandas/_libs/tslibs/nattype.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,12 @@ class NaTType(_NaT):
See strftime documentation for more information on the format string:
https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior.
See Also
--------
Timestamp.isoformat : Return the time formatted according to ISO 8601.
pd.to_datetime : Convert argument to datetime.
Period.strftime : Format a single Period.
Examples
--------
>>> ts = pd.Timestamp('2020-03-14T15:32:52.192548651')
Expand Down

0 comments on commit 5a548f3

Please sign in to comment.