-1

Remove header in the below imported csv via URLLIB.REQUEST.URLRETRIEVE

CODE:

import urllib.request
urllib.request.urlretrieve("https://www.kaggle.com/uciml/pima-indians-diabetes-database/downloads/diabetes.csv", FILE_DATA)
Arkistarvh Kltzuonstev
  • 6,824
  • 7
  • 26
  • 56

1 Answers1

-1

Take a look at this answer.

Files from kaggle need an authentication and I'm not sure if you are doing it.

https://www.kaggle.com/docs/api

Regards.

Daniziz
  • 88
  • 7
  • Please do not post link-only answers - and when the resource you link to is another SO question, vote to close the question as duplicate instead (or if you don't have enough rep yet, just mention it in a comment). – bruno desthuilliers Jul 30 '19 at 11:37