Answers for "how to import file in google colab"

1

import file to colab

from google.colab import files
files.upload()
 # run the above code and click on the enabled "Choose Files" button 

import pandas as pd
df = pd.read_csv('your uploades file name.csv') # df is a changable variable 
df.head() # shows first 5 rows
Posted by: Guest on July-26-2021
7

upload file in colab

from google.colab import files
files.upload()
Posted by: Guest on May-05-2020
0

google colab upload a file

from google.colab import files
files.upload()
Posted by: Guest on March-31-2020

Code answers related to "how to import file in google colab"

Python Answers by Framework

Browse Popular Code Answers by Language