How to upload a Custom dataset on Google Colab?

Rojan Dhimal
Nov 2, 2020

In this article, I will show you how you can upload your dataset in google colab.

We can link data in various ways. You can mount google drive or clone from the GitHub repository. This is the easiest way.

Step 1: Create google colab file

Step 2: Click on the folder icon on the left toolbar.

Step 3: You will see this interface after clicking the folder icon.

Step 4: Now drag and drop your CSV or any file here or just upload the file clicking the upload icon.

Step 5 : Now click on ok

Step 6: read your dataset in the program. here I use pandas read_csv method

import pandas as pd
pd.read_csv("adsl.csv") #adsl.csv is my filename

That’s it! Thanks for reading.

--

--