davidkorea / MEACHINE_LEARNING

0 stars 0 forks source link

How pandas read uci *.data dataset #1

Open davidkorea opened 6 years ago

davidkorea commented 6 years ago

dataset url: machine-learning-databases/housing

1.

url = 'https://archive.ics.uci.edu/ml/machine-learning-databases/housing/housing.data'
data1 = pd.read_csv(url, sep='\s+', header = None)

2.

data2 = pd.read_csv(url, delim_whitespace=True, header = None)

url can only use official uci url, can not work with dataset by like paddle

davidkorea commented 6 years ago

paddle dataset url: /home/aistudio/data/data64/housing.data

davidkorea commented 6 years ago

refer to: Error while reading Boston data from UCL website using pandas

davidkorea commented 6 years ago

aistudio에선 잘 되지만 kaggle에선 에러 나옴.

URLError: <urlopen error [Errno -2] Name or service not known>