Skip to content

Instantly share code, notes, and snippets.

@rayheberer
Last active September 12, 2019 16:16
Show Gist options
  • Save rayheberer/183899572914cf0a055a1030046600ac to your computer and use it in GitHub Desktop.
Save rayheberer/183899572914cf0a055a1030046600ac to your computer and use it in GitHub Desktop.
import numpy as np
import pandas as pd
import pandas_datareader.data as web
import datetime
start = datetime.datetime(2012, 1, 1)
end = datetime.datetime(2019, 1, 1)
df = web.DataReader("TSLA", 'yahoo', start, end)
df.head()
df["Adj Close"].plot()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment