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')