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)
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.