CARTOframes

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

What is CARTOframes?

CARTOframes is a Python package for integrating CARTO maps, data observatory, data services and analyses into data science workflows. It also allows you to share your work from your work environment.

To understand the fundamentals of CARTOframes, read the guides. To go deeper, read the full reference API. To check snippets that go straight to the point, check the examples. To view the source code, browse the open-source repository and contribute. Also, if you see something is not working or you have any doubt, check the different support options.

Guides

Quick reference guides for learning how to use CARTOframes features.

Reference

Browse the interactive API documentation to search for specific CARTOframes methods, arguments, and sample code that can be used to build your applications.

Check Full Reference API
1
2
3
4
5
6
7
8
9
10
from cartoframes.auth import set_default_credentials
from cartoframes.data.observatory import Enrichment

set_default_credentials('creds.json')
enrichment = Enrichment()

enriched_df = enrichment.enrich_points(
    df,
    variables=['total_pop_3cf008b3']
)

Support

Get help or learn about known issues.