@sentdex

Now that Google has also thwarted our efforts, here is a quick example of grabbing data with morningstar instead: 

import datetime
import pandas_datareader.data as web

start = datetime.datetime(2015, 1, 1)
end = datetime.datetime.now()
df = web.DataReader("TSLA", 'morningstar', start, end)
df.reset_index(inplace=True)
df.set_index("Date", inplace=True)
df = df.drop("Symbol", axis=1)

print(df.head())

@indianarchangel

Took me an hour to resolve the datareader installation issue but your code ran like a charm. Thank you man, you are a life saver. God bless

@destroyerking5609

dude,literally 3 years ago,you were doing this.Thanks from all python enthusiasts.Great job.

@ArmaniV03

THANK YOU on behalf of all students looking at Python going "AAH"

@SwaggahDontStop

Boss: WE'RE LOSING MONEY, JIM! YOU'RE ALGO ISN'T WORKING!!!

Jim: But do the graphs look good though?

Boss: Damn, they do look good. Carry on.

@quantumly57

This is pure gold... Saves so much time and energy than a CS/business degree. Thank you.

@chipScoD

6 sentdex videos at once? Holy cow there goes my evening!

@litojonny

thanks a lot Edward Snowden!

@Enyonam214

This is exactly y I am learning python. I'm not at the level yet to dive into this video but I'll be back in a few days. Thank you so much for this.

@OsantoR

Anybody who has the datareader module not found error:

   1.  Go to File> Settings> Project :your_project_name > Project Interpreter
   2. Now click the “Green plus sign” in the upper right corner.
   3.Type the name of the module you wanna download
   4. Click button “install package”. Then chillax J wait for the package to install(may take 30-60 seconds or so).

I'm using Pycharm btw
(This works for every module)

@SoumitraChakravarti

Edits:
import pandas_datareader as web

df = web.get_data_yahoo('GOOG', start, end)

@eromattiffarg

Took this course and just sold my own algorithm to BoA for $10 million yesterday Morning. Thanks for helping me take the first step.

@BrandonJacobson

I'm doing this July 2019, using Pycharm and Python 3.7, and had to make some modifications.

1) pip uninstall pandas
2) pip install "pandas<0.25.0" (Fixes String IO Import error from .compat)

3) remove the .data so it should be just import pandas_datareader as web (Fixes missing attribute from datareader)

@larbisahli2273

thank you very much sentdex  your tutorials change my life to the better.

@molejaboy

Don’t know how I took so long to find your channel but thank you! Along with Corey Schafer I’m learning so much faster!

@samueldoan3404

"Tesla ... has never had a stock split ...YET" @ 8:50
He predicted the 5 for 1 TSLA stock split, guys.

@Wilewee

I had to change the datareader to:

web.DataReader("NASDAQ:TSLA", 'google', start, end) 

instead, as yahoo was not giving me info
( RemoteDataError: Unable to read URL: ...  )

@loudsquad2324

Hey there Harrison!  I have been following you for a good while now and i just wanted to let you know that i appreciate you a whole ton of alot! You have a gift for teaching! Thank you for sharing it with us all!

@JJFisher91

In case you are wondering, Edward Snowden is using idle3. Type idle3 in your terminal and it should open it. Then go to file and open. That should get you to a similar screen as him.

@MrProzaki

Alright , now lets begin python tuts for finance. Lets do it SENTDEX !!!! ive got my books and ur vids ready , my body and soul is ready lets get on it !!!