hen I heard of the arrests of capitol rioters in their home states I was relieved the rule of law was going to preside. The data is not too hard to find on the web site of the Department of Justice and a page search revealed there are only 7 weapons charges out of 138 arrests as of this writing. Getting a handle on which states were involved the most was a bit harder and a perfect opportunity to practice screen scraping and charting with Python.
Bringing in the data is incredibly simple using Pandas for reading in table data from a web site.
First the population data was pasted in as a dictionary and then converted to a data frame and concatenated on the end of the arrest data.