Learn Data Scraping and Visualization

1Introduction Overview
4Sorting the Data frame

1. Introduction Overview

Our objective is to Scrape the International days and arrange them according to their popularity. For this task, we have to create a CSV file containing all the International days along with their corresponding dates in a sorted way according to their popularity.

Web scraping is the process of extracting data from websites. Some data that is available on the web is presented in a format that makes it easier to collect and use it, for example in the form of downloadable comma-separated values (CSV) datasets that can then be imported in a spreadsheet or loaded into a data analysis script. Often, however, even though it is publicly available, data is not readily available for reuse. For example, it can be contained in a PDF, or a table on a website, or spread across multiple web pages.

There are a variety of ways to scrape a website to extract information for reuse. In its simplest form, this can be achieved by copying and pasting snippets from a web page, but this can be unpractical if there is a large amount of data to be extracted, or if it spread over a large number of pages. Instead, specialized tools and techniques can be used to automate this process, by defining what sites to visit, what information to look for, and whether data extraction should stop once the end of a page has been reached, or whether to follow hyperlinks and repeat the process recursively. Automating web scraping also allows defining whether the process should be run at regular intervals and capture changes in the data.

2019 Edugrad. All Rights Reserved.