Skip to content

Commit ea3e966

Browse files
committed
Update docstring for utcoffset
1 parent 4cb55e5 commit ea3e966

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pandas/_libs/tslibs/timestamps.pyx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,6 +1748,13 @@ class Timestamp(_Timestamp):
17481748
def utcoffset(self):
17491749
"""
17501750
Return utc offset.
1751+
This method returns the difference between UTC and the local time
1752+
as a `timedelta` object. It is useful for understanding the time
1753+
difference between the current timezone and UTC.
1754+
1755+
Returns
1756+
--------
1757+
timedelta : The difference between UTC and the local time as a `timedelta` object.
17511758
17521759
Examples
17531760
--------

0 commit comments

Comments
 (0)