What do you say when someone asks: “I’m working on a course assignment… to gain insights into the [data science] industry”?
Posted here because I will inevitably forget this painfully worked-out answer for having legends for two different types of plots in Seaborn… import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt # We will need to access some of these matplotlib classes directly from matplotlib.lines import Line2D #… Continue reading Seaborn Plots with 2 Legends
Recently, I was asked to give talks at both UCL’s CASA and the ETH Future Cities Lab in Singapore for students and staff new to ‘urban data science’ and the sorts of workflows involved in collecting, processing, analysing, and reporting on urban geo-data. Developing the talk proved to be a rather enjoyable opportunity to reflect on more… Continue reading The Full Stack: Tools & Processes for Urban Data Scientists
I’ve been making a lot of use of PostgreSQL and PostGIS for working with geo-data over the past year and, having finally gotten over my hatred of the non-standard administrative commands, I am seriously impressed with what this setup makes possible. Even on a MacBook Air with just 8GB of RAM! However, one area where… Continue reading Installing PostgreSQL Extensions on Mac OS X
One of the known problems with choropleth maps is that small zones, even if they contain very significant values, tend to get lost in amongst much larger zones. A current example is that the ridings in London are much smaller than those outside of London, so it can be hard to tell what’s happening in… Continue reading Hex Binning Land Registry Data