Use Python to extract and visualize data from Wikipedia

Pankaj Kumar
Python in Plain English
9 min readAug 22, 2020

--

Photo by Hans Vivek on Unsplash

Question of interest here is to find which dynasty rule in India for the longest period of time.

Here I am trying to extract all the dynasty rules from following page and try to determine length of their rules and plot a graph to find the longest ruling dynasty https://en.wikipedia.org/wiki/List_of_Indian_monarchs

--

--

MS Data Science SMU TX. Pursuing MSc Financial Engg. At WQU.Interest in Algos, Discovering Trends fm data. Methodical, conven/non-conven. Investigation of data.