Skip to content

Commit ee930d7

Browse files
DOC: add SA01 for pandas.Timestamp.as_unit
1 parent 41f3c2e commit ee930d7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/_libs/tslibs/timestamps.pyx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,6 +1115,14 @@ cdef class _Timestamp(ABCTimestamp):
11151115
-------
11161116
Timestamp
11171117
1118+
See Also
1119+
--------
1120+
Timestamp.asm8 : Return numpy datetime64 format in nanoseconds.
1121+
Timestamp.to_pydatetime : Convert Timestamp object to a native
1122+
Python datetime object.
1123+
to_timedelta : Convert argument into timedelta object,
1124+
which can represent differences in times.
1125+
11181126
Examples
11191127
--------
11201128
>>> ts = pd.Timestamp('2023-01-01 00:00:00.01')

0 commit comments

Comments
 (0)