I am trying to access this file from URL:
https://data.princeton.edu/wws509/datasets/copen.dat
However, I am unable to access it and split it for training and testing purpose.
Does someone have a solution for this?
Thanks
I have run the following code which converted the data into html. Now how can I access the data eg. if a want to access certain rows and columns, how would I do that?
import urllib.request
weburl=urllib.request.urlopen('https://data.princeton.edu/wws509/datasets/cuse.dat')
print('result code:'+ str(weburl.getcode()))
data=weburl.read()
print(data)