Bouston Housing practise assignment

I am trying to download file from Kaggle for the bouston housing competition. I have tried following tips from the video Deep Learning with PyTorch for Beginners - Part 3 (https://mp4-c.udemycdn.com/2020-03-21_08-50-11-069d8efbb26340c8b26eb6d64cb3a9d3/WebHD_720p.mp4?Expires=1631967299&Signature=CyeD-rTkzNLfG8p8dkdUW34h1EES31oIkxRIZIBHMLtgSQjCKxnQIjENzGJEzC5y9wOquJ~qNvS6-W842pPjq3NG-fsBLdpcBBM-Z8CjH8EhfxylDQpWsPijWl4g55Y3LBJ4ypLH86Q5ZoAy5S4ZmMbOxOOR8aP3C2YhBKMREikssnc2rOs70bLn844P66yrQwMabZwdY6kJOpbdisXDfO7b3jxe9Uw974ZgzZxF88W9YGSyVsjch8y1g92WXG873yW8WZkF-gSAaQ23vCLGPD2eMd7~7rX9wvqPhOCPBLUNMSiE3v8KdojpvdfQ0vWekPCZjUz5p6LMeIDOT4Z9OQ__&Key-Pair-Id=APKAITJV77WS5ZT7262A). But the commands were written for mac Users. Can anyone help me post the commands for a windows pc.

The link you provided isn’t working.

To download the Kaggle dataset, you can:

!pip install opendatasets
import opendatasets as od
od.download("https link of the kaggle dataset you want to download")

When you run the od.download command it will ask your Kaggle username and key
To generate that you need to sign in to your Kaggle account then click your profile picture then

your profile > Account > API Section

Click on create new API token, this will give you a json file with username and key use that where it was asked.

I cant seem to fine the link to the files

. Link to the competition Jovian: Learn Data Science & Machine Learning Online | Courses, Projects & Tutorials.

The link I was talking about was from the address bar/url bar when you open the data tab.
But looks like there is some error in the data and it’s not opening.

I saw the mac command someone mentioned in the discussion section.
I think that’s the command you were talking about.

The command is the same for windows, just use '!' instead of '$'
So,

!kaggle competitions download boston-housing

Btw thanks ur solution worked.

1 Like