Pages Menu
Categories Menu

Posted by on Jul 30, 2021 in Uncategorized | 0 comments

Python Data Science Day 5

Today in python we worked on analyzing data. The data set we used was one containing statistics pertaining to murder, and I decided to create pie charts analyzing the different murder weapons and whether the cases solved changed depending on the weapon used. I created a set of code that found how many cases were solved depending on the weapon, and then used that to create a pie chart with two sections, the amount of cases solved and the amount of cases unsolved, with one pie chart per weapon; Handgun, Knife, Blunt Object, Firearm, Unknown, Shotgun, Rifle, Strangulation, Fire, Suffocation, Gun, Drugs, Drowning, Explosives, Poison , and Fall. Then I uploaded the code to GitHub at

Post a Reply

Your email address will not be published. Required fields are marked *