open-data-day-cambridge-2018 / bicycle-theft-cambridgeshire

MIT License
2 stars 1 forks source link

Summary stats #5

Open npscience opened 6 years ago

npscience commented 6 years ago

Understand bike thefts in 2017 by month, location, outcome using Python for plotting and summary stats

Notebook: data analysis

npscience commented 6 years ago

Ok I used python to tell me what we could see from the csv: there were 4,393 bike thefts reported in Cambridgeshire in 2017!

npscience commented 6 years ago

Example code for plots using matplotlib: https://towardsdatascience.com/5-quick-and-easy-data-visualizations-in-python-with-code-a2284bae952f

npscience commented 6 years ago

Resulting notebook: https://github.com/open-data-day-cambridge-2018/bicycle-theft-cambridgeshire/blob/master/notebooks/Data-analysis-and-mapping.ipynb

Improved notebook: https://github.com/open-data-day-cambridge-2018/bicycle-theft-cambridgeshire/blob/master/notebooks/Data-analysis-improved.ipynb

@yochannah I managed to work out how to change the graph so it showed the months in order. Not a very efficient route, and still some stuff to tie up for doing it the way that I think is more efficient (using datetime). But.... there's a nicer graph at the bottom.