This is my pandas dataframe I am referring to.
Basically I would like to be able to display a count on 'crime type'
based on 'council'
. So for example, where 'council == Fermanagh and omagh'
count the
different values for each 'crime type'
if that makes sense? So burgulary
might be equal to 1
whereas, Anti-social behaviour'
would be 3
for another 'council'
? I then would like to plot these values on a bar graph.
Hope this makes some sense. Any help would be great. Thank you.