{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## Upload data to CARTO\n", "\n", "This example illustrates how to upload local data to a CARTO account.\n", "\n", "_Note: You'll need [CARTO Account](https://carto.com/signup) credentials to reproduce this example._" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "from cartoframes.auth import set_default_credentials\n", "\n", "set_default_credentials('creds.json')" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | cartodb_id | \n", "the_geom | \n", "field_1 | \n", "name | \n", "address | \n", "revenue | \n", "
---|---|---|---|---|---|---|
0 | \n", "1 | \n", "POINT (-73.95901 40.67109) | \n", "0 | \n", "Franklin Ave & Eastern Pkwy | \n", "341 Eastern Pkwy,Brooklyn, NY 11238 | \n", "1321040.772 | \n", "
1 | \n", "2 | \n", "POINT (-73.96122 40.57796) | \n", "1 | \n", "607 Brighton Beach Ave | \n", "607 Brighton Beach Avenue,Brooklyn, NY 11235 | \n", "1268080.418 | \n", "
2 | \n", "3 | \n", "POINT (-73.98976 40.61912) | \n", "2 | \n", "65th St & 18th Ave | \n", "6423 18th Avenue,Brooklyn, NY 11204 | \n", "1248133.699 | \n", "