How to Import Data Google Colab from Google Drive

Опубликовано: 01 Март 2025
на канале: Tutorials
32
2

In this video i will show you how to create a Google colab Notebook, then connect google drive to it and import a csv file to it from google drive.

This is the code i used in the video:

from google.colab import drive
drive.mount('/content/gdrive')

import pandas as pd
df=pd.read_csv('gdrive/My Drive/data.csv')

df.head()