1# It will prompt you to select a file. Click on “Choose Files” then select and upload the file. Wait for the file to be 100% uploaded.
2
3from google.colab import files
4uploaded = files.upload()
5
6# To store dataset in a Pandas Dataframe
7import io
8df2 = pd.read_csv(io.BytesIO(uploaded['Filename.csv']))