importing dataset in colab code example
Example 1: colab read file
from google.colab import files
import io
uploaded = files.upload()
df2 = pd.read_csv('Filename.csv')# Dataset is now stored in a Pandas Dataframe
Example 2: google colab upload a file
from google.colab import files
files.upload()