Untitled
unknown
plain_text
2 years ago
329 B
9
Indexable
import pandas as pd
from matplotlib import pyplot as plt
df = pd.read_csv('/datasets/sbux.csv')
cols = ['open', 'close']
df.plot(x='date',
y='cols',
legend=False,
title='Historic SBUX price',
xlabel='Date',
ylabel='Share price / USD',
ylim=[1e6, 7e7],
rot=50)
plt.show()Editor is loading...
Leave a Comment