Installing in Google Colab
Contents
Installing in Google Colab#
Link to the data resources from your Google Drive#
Sign into your Google Account
Open the link to our source data files: https://drive.google.com/drive/folders/1Yf7ZbK0S8HyYR7kL9_MUNePWj6a7GwbL?usp=share_link
Create a shortcut to the data in your drive
Installing nycschools
#
Open a new Colab notebook and then add this code at the start of your program:
# install the package and its requirements
!pip install nycschools
# discover the data in your Google Drive, or download it to the local Colab
# if no suitable data is found
from nycschools import dataloader
dataloader.download_data()
The dataloader
will prompt you for permission to look in your Google Drive for the data folder. If you do not allow access, the program will attempt to download the data locally. You will have to download the data for each session when using this notebook.