Python Forum

Full Version: paths
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
note that you never run fetch_housing_data() if it is expected to pull data and create the file
The url call is supposed to pull from the internet a data folder and save it to that folder and call it housing.csv. So perhaps the issue lies with the pulling from the internet part
well, as I said, you never call it
so you need
fetch_housing_data()
housing = load_housing_data()
housing.head()
this way you will call the function and we will see if it works as expected and create the file
Thanks that worked. I was coping code directly from a text book which said it should work.
Pages: 1 2