Label

Books (1) CARTO (3) Fun (21) GBDX (1) geoserver (1) GIS (57) greed (4) memo (4) movie (1) music (2) python (4) R (12) statistics (10) study (20) swim (5) tools (19) Ubuntu (7)

2020/05/08

【CARTOframes】Google Colabで使ってみる


  1. Create Google Account
  2. Login to Colab (https://colab.research.google.com/)
  3. Start new notebook
  4. Install CARTOframes ( and other libraries)
    • ! pip install cartoframes geopandas numpy pandas
  5. Mount your Google Drive
    • #connect to Google Drive
    • from google.colab import drive
    • drive.mount('/content/gdrive')
  6. Save your credential JSON in your Google Drive
  7. Set your credential
    • from cartoframes.auth import set default_credentials
    • set_default_credentials('credential.json')