Web-scraping: Empty dataset after collecting information
问题 I would like to create a dataset that includes information scraped from a website. I explain what I have done and the expected output below. I am getting empty arrays for rows and columns, then for the whole dataset, and I do not understand the reason. I hope you can help me. 1) Create an empty dataframe with only one column: this columns should contains a list of urls to use. data_to_use = pd.DataFrame([], columns=['URL']) 2) Select urls from a previous dataset. select_urls=dataset.URL