Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

open csv from google drive using python

#From 
#Derive the id from the google drive shareable link.
#For the file at hand the link is as below
URL = <Go to Drive --> choose the file --> choose 'Get Link' --> paste it here>
path = 'https://drive.google.com/uc?export=download&id='+URL.split('/')[-2]
df = pd.read_csv(path)
 
PREVIOUS NEXT
Tagged: #open #csv #google #drive #python
ADD COMMENT
Topic
Name
2+5 =