seaborn
Murder Accountability Project - Part 2 Looking at Weapons and Relationships
Part 2 - Weapon Trends At this point we can start looking at some of the weapon trends. crime_time = pd.pivot_table(data2,index=["Year", "Weapon"],values=["Record ID"],aggfunc=[len]) crime_time.reset_index(inplace=True) crime_time.columns.droplevel() crime_time.