Answers for "download file to colab python"

3

download from colab

from google.colab import files
files.download("path")
Posted by: Guest on August-06-2020
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

Browse Popular Code Answers by Language