How to access CARTO's Analytics Toolbox for BigQuery and create visualizations via Python notebooks
Install all necessary libraries
!pip install pydeck-carto geopandas db_dtypes -qimport pydeck as pdk
import pydeck_carto as pdkc
import pandas as pd
import geopandas as gpd
import google.cloud.bigquery as bigquery
from carto_auth import CartoAuth
from google.colab import authAuthenticate to CARTO and BigQuery
Load data from BigQuery into a dataframe
Use Analytics Toolbox functions


Write a result in a new table on BigQuery

Plot your data in a map

PreviousHow to access your Data Observatory subscriptionsNextHow to access CARTO’s Analytics Toolbox for Snowflake and create visualizations via Python notebooks
Last updated
Was this helpful?
