In [1]:
%matplotlib inline
In [2]:
import pandas as pd
import numpy as np
In [3]:
%timeit range(1000)
In [4]:
%%timeit x = range(10000)
max(x)
In [5]:
from datetime import datetime
now = datetime.now()
num = 1234567890
print("{:%Y-%m %H:%M:%S} - {:,}".format(now, num))
In [6]:
normals = pd.Series(np.random.normal(size=10))
normals.plot()
Out[6]:
In [7]:
data = pd.read_csv("data.csv")
In [8]:
data.head()
Out[8]:
In [9]:
data.plot(x="Date", y="High")
Out[9]:
In [ ]: