Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time


A Python package for integrating CARTO maps, analysis, and data services into data science workflows.

Python data analysis workflows often rely on the de facto standards pandas and Jupyter notebooks. Integrating CARTO into this workflow saves data scientists time and energy by not having to export datasets as files or retain multiple copies of the data. Instead, CARTOframes give the ability to communicate reproducible analysis while providing the ability to gain from CARTO's services like hosted, dynamic or static maps and Data Observatory augmentation.

Try it Out

  • Stable (1.2.4): stable
  • Latest (develop branch): develop

If you do not have an API key, you can still use cartoframes for creating maps locally.

The example context only provides read access, so not all cartoframes features are available. For full access, Start a free trial or get free access with a GitHub Student Developer Pack.


  • Create interactive maps from pandas DataFrames (CARTO account not required)
  • Publish interactive maps to CARTO's platform
  • Write and read pandas DataFrames to/from CARTO tables and queries
  • Create customizable, interactive CARTO maps in a Jupyter notebook using DataFrames or hosted data
  • Augment your data with CARTO's Data Observatory
  • Use CARTO for cloud-based analysis

Common Uses

  • Visualize spatial data programmatically as matplotlib images, as notebook-embedded interactive maps, or published map visualizations
  • Perform cloud-based spatial data processing using CARTO's analysis tools
  • Extract, transform, and Load (ETL) data using the Python ecosystem for getting data into and out of CARTO
  • Data Services integrations using CARTO's Location Data Streams

More info