Skip to content

Commit f18378d

Browse files
committed
DOC: minor 10min.rst import fixes
1 parent 6b8d849 commit f18378d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/10min.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Customarily, we import as follows
3333
3434
import pandas as pd
3535
import numpy as np
36+
import matplotlib.pyplot as plt
3637
3738
Object Creation
3839
---------------
@@ -575,8 +576,7 @@ Time zone representation
575576
576577
rng = pd.date_range('3/6/2012 00:00', periods=5, freq='D')
577578
ts = pd.Series(np.random.randn(len(rng)), rng)
578-
ts_utc = ts.tz_localize('UTC')
579-
ts_utc
579+
ts.tz_localize('UTC')
580580
581581
Convert to another time zone
582582

0 commit comments

Comments
 (0)