Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use drive link in pandas dataframe

import pandas as pd
url='https://drive.google.com/file/d/0B6GhBwm5vaB2ekdlZW5WZnppb28/view?usp=sharing'
url='https://drive.google.com/uc?id=' + url.split('/')[-2]
df = pd.read_csv(url)
 
PREVIOUS NEXT
Tagged: #drive #link #pandas #dataframe
ADD COMMENT
Topic
Name
9+5 =