files in colab code example
Example 1: upload file in colab
from google.colab import files
files.upload()
Example 2: 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