[ad_1]
Find out how to use Wikipedia information to visualise the recognition of prime athletes and Olympic sports activities
We simply witnessed a beautiful three weeks of sports activities because the 2024 Olympic Video games unfolded in Paris, with thousands and thousands of individuals watching the streams and rooting for his or her favorites. Concurrently, we noticed family names crushing it once more, and the following technology of stat athletes emerged.
As a curious information scientist, I began to surprise how the collective opinion behind these evolves — that are the preferred sports activities, and which athletes are on the rise? Then, to place information behind this, I made a decision to do an intensive information assortment from Wikipedia, containing each Wikipedia profiles and consider rely info, after which examine the recognition of various sports activities in addition to prime athletes. Under, please discover my outcomes and all of the Python code wanted to breed these.
All photographs have been created by the writer.
First, let’s go to the Wikipedia website of the 2024 Summer season Olympics, and obtain it utilizing the requests library. Then, I take advantage of the BeautifulSoup package deal to extract info from the html — specifically, the record of all summer season sports activities and their Wiki website hyperlinks. To extract the sports activities, moreover, I observe my handbook…
[ad_2]
Source link


