jmbejara / comp-econ-sp19

Main Course Repository for Computational Methods in Economics (Econ 21410, Spring 2019)
48 stars 26 forks source link

error reading df hw6 #48

Closed rhuselid closed 5 years ago

rhuselid commented 5 years ago

When I run this code from the HW:

url = 'https://raw.githubusercontent.com/jmbejara/comp-econ-sp18/master/lectures/5-08_Structural_IO_with_MLE/'
filename = 'BresnahanAndReiss1991_DATA.csv'
df = pd.read_csv(url + filename)

I get a HTTPError: HTTP Error 404: Not Found error. What should the url be instead?

rhuselid commented 5 years ago

Update: the url just has to be replaced with the url from lecture notes. I did not initially notice that they were a little different

jmbejara commented 5 years ago

Cool. Glad it got resolved! Opening this in case others have the same issue.