Data-driven cartography for data scientists
Andy Eschbacher
Data Scientist
@MrEPhysics
About me
cartographer
About me
cartographer
software developer
About me
cartographer
software developer
data scientist
About me
cartographer
software developer
data scientist on CARTO's research team
But we had a workflow problem
Let's fix it
Make great cartography
A programming language that...
Mostly in Python
Flexible medium for showing reproducible workflows involving data, code, text, and charts.
And Jupyter Notebooks
Plotting:
Geopandas
Source: Geopandas doc
Plotting:
matplotlib
Source: Jake VanderPlas, Out-of-core DataFrames
Source: Jake VanderPlas, Out-of-core DataFrames
Plotting:
matplotlib
Plotting:
Folium
Source: Folium
Plotting:
GeoNotebook
Source: Geonotebook GitHub
cartoframes
Goals of cartoframes
CARTO without leaving a notebook
Leverage CARTO's services
Reproducible workflows
with maps
Defaults
Since cartoframes returns matplotlib images, you can start composing them for comparison across different variables.
Programmatic
DEMO!
Legends
Feedback
I'd love feedback!
Thanks!
cartoframes source code + examples
https://github.com/cartodb/cartoframes/
Install
pip install cartoframes
Andy Eschbacher
Data Scientist
@MrEPhysics