I want to extract data from multiple URLs, but the URLs are in a column of a data frame.
I tried data extraction with the code below but no luck.
from urllib.request import urlopen,Request
link = data.column1
f = urlopen(link)
myfile = f.read()
print(myfile)
It shows:
AttributeError: 'Series' object has no attribute 'type'.
Please help with the code. Thank you