We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
notoriusjack
2 years agoNew member | Level 2
reading parquet file using python sdk
Hi, I am trying to read a parquet file using pandas and vaex. I can sucessfully read a .csv but I get the following error message when I try to download the parquet file with dbx.files_download : ...
- 2 years ago
Thanks for following up and sharing that. For reference, the URL parameters for shared links like that are documented here.
notoriusjack
New member | Level 2
I understand, and I found out it's possible. I put this here as it might help someone else.
You can use copy link (set the permissions as you like) and use the URL inside pandas.read_csv or pandas.read_parquet to read the dataset.
However the copy link will have a 'dl' parameter equal to 0, you have to change it to 1 to make it work. Example:
# this does not work
df = pd.read_parquet('https://www.dropbox.com/s/somecode/part.0.parquet?dl=0')
# this works
df = pd.read_parquet('https://www.dropbox.com/s/somecode/part.0.parquet?dl=1')
Thank you again for helping out
Greg-DB
2 years agoDropbox Staff
Thanks for following up and sharing that. For reference, the URL parameters for shared links like that are documented here.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!