How to upload csv file to colab
Local
from google.colab import files
uploaded = files.upload()
chose file from local
# Read file as panda dataframe
import pandas as pd
urls = pd.read_csv('youtube_urls.csv')
Git
file size should be under 25MB
url = 'copied_raw_GH_link'
df = pd.read_csv(url)
# Dataset is now stored in a Pandas Dataframe
Leave a comment