Skip to content

Commit 13a7e14

Browse files
rob-silshreyas-dev
authored andcommitted
DOC: Add missing single quote to Timestamp.tz_localize (pandas-dev#59472)
* Add missing single quote to docstring * More missing single quotes * Clean up a print statement Update docstring for utcoffset
1 parent fdbc64d commit 13a7e14

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
@@ -1764,6 +1764,13 @@ class Timestamp(_Timestamp):
17641764
def utcoffset(self):
17651765
"""
17661766
Return utc offset.
1767+
This method returns the difference between UTC and the local time
1768+
as a `timedelta` object. It is useful for understanding the time
1769+
difference between the current timezone and UTC.
1770+
1771+
Returns
1772+
--------
1773+
timedelta : The difference between UTC and the local time as a `timedelta` object.
17671774
17681775
This method returns the difference between UTC and the local time
17691776
as a `timedelta` object. It is useful for understanding the time

0 commit comments

Comments
 (0)