Skip to content

Commit 4995120

Browse files
DOC: add SA01 for pandas.Timedelta.as_unit
1 parent 42a9569 commit 4995120

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/_libs/tslibs/nattype.pyx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,6 +1383,14 @@ default 'raise'
13831383
-------
13841384
Timestamp
13851385

1386+
See Also
1387+
--------
1388+
Timestamp.asm8 : Return numpy datetime64 format in nanoseconds.
1389+
Timestamp.to_pydatetime : Convert Timestamp object to a native
1390+
Python datetime object.
1391+
to_timedelta : Convert argument into timedelta object,
1392+
which can represent differences in times.
1393+
13861394
Examples
13871395
--------
13881396
>>> ts = pd.Timestamp('2023-01-01 00:00:00.01')

0 commit comments

Comments
 (0)