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 iloc, loc, & ix to select rows and columns in Pandas 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. Selection Options There’s three main options to achieve the selection and indexing activities in Pandas, which can be confusing. The three selection cases and …

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

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

How wet is a cycling commute in Ireland? Pretty dry!… if you don’t live in Galway.

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 …

How wet is a cycling commute in Ireland? Pretty dry!… if you don’t live in Galway. Read More »

Cyclist in the rain. Blog about python scraping data from wunderground rainfall data.

Analysis of Weather data using Pandas, Python, and Seaborn

The most recent post on this site was an analysis of how often people cycling to work actually get rained on in different cities around the world. You can check it out here. The analysis was completed using data from the Wunderground weather website, Python, specifically the Pandas and Seaborn libraries. In this post, I will …

Analysis of Weather data using Pandas, Python, and Seaborn Read More »