How to read in a csv file from Google Drive to a Pandas DataFrame:
url = ' google drive sharing link'
path = 'https://drive.google.com/uc?export=download&id='+url.split('/')[-2]
df = pd.read_csv(path)
Show DataFrame output on Streamlit app:
st.write(df)
If you run into any issues, try making the CSV file link public on Google Drive. This could be a potential workaround for uploading large files.