data science

Batch CSV Geocoding in Python with Google Maps API

Geocode your addresses for free with Python and Google For a recent project, I ported the “batch geocoding in R” script over to Python. The script allows geocoding of large numbers of string addresses to latitude and longitude values using the Google Maps Geocoding API. The Google Geocoding API is one of the most accurate geocoding …

Batch CSV Geocoding in Python with Google Maps API Read More »

Using Pandas iloc, loc, & ix to select rows and columns in DataFrames

Pandas Data Selection There are multiple ways to select and index rows and columns from Pandas DataFrames. I find tutorials online focusing on advanced selections of row and column choices a little complex for my requirements, but mastering the Pandas iloc, loc, and ix selectors can actually be made quite simple. Selection Options There’s three main options to …

Using Pandas iloc, loc, & ix to select rows and columns in DataFrames Read More »

How often do you actually get wet going to work? Using pandas, python, and some graphs, we find out.

Rainy cycling commutes in Ireland? Wunderground data in Python

How often do you get wet cycling to work? Cycling in Ireland is taking off. The DublinBikes scheme is a massive success with over 10 million journeys, there’s large increases in people cycling in Irish cities, there’s a good cyclist community, and infrastructure is slowing improving around the country. However, Ireland is a rainy place! It turns out that …

Rainy cycling commutes in Ireland? Wunderground data in Python Read More »