code

Pandas iloc and loc – quickly 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 …

Pandas iloc and loc – quickly select rows and columns in DataFrames 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 »

Multiple heatmaps

Self-Organising Maps for Customer Segmentation using R

Self-Organising Maps Self-Organising Maps (SOMs) are an unsupervised data visualisation technique that can be used to visualise high-dimensional data sets in lower (typically 2) dimensional representations. In this post, we examine the use of R to create a SOM for customer segmentation. The figures shown here used use the 2011 Irish Census information for the …

Self-Organising Maps for Customer Segmentation using R Read More »