Complete the code to import pandas in Google Colab.
import [1] as pd
We use import pandas as pd to work with data tables in Python.
Complete the code to read a CSV file in Google Colab.
df = pd.read_csv('[1]')
In Colab, files in the sample_data folder can be accessed with /content/sample_data/filename.
Fix the error in the code to mount Google Drive in Colab.
from google.colab import [1] [1].mount('/content/drive')
The drive module from google.colab is used to mount Google Drive.
Fill both blanks to list files in the mounted Google Drive folder.
import os files = os.[1]('[2]') print(files)
os.listdir lists files in a directory. The path to Google Drive is /content/drive/MyDrive.
Fill all three blanks to save a DataFrame to Google Drive in CSV format.
df.[1]('[2]/[3].csv', index=False)
Use to_csv to save DataFrame. The path is Google Drive folder plus filename.
