Skip to content

Commit 218ba11

Browse files
committed
DOC: fix tz doc bug
1 parent aca1a42 commit 218ba11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/source/10min.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,9 @@ Time zone representation
576576
577577
rng = pd.date_range('3/6/2012 00:00', periods=5, freq='D')
578578
ts = pd.Series(np.random.randn(len(rng)), rng)
579-
ts.tz_localize('UTC')
579+
ts
580+
ts_utc = ts.tz_localize('UTC')
581+
ts_utc
580582
581583
Convert to another time zone
582584

0 commit comments

Comments
 (0)