-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
read_csv Pass File System (AWS, GCP) as Option. #30359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Seems reasonable. Are you interested in working on this? The first step would be to write a detailed docstring so that we can understand how things work and interact with the other parameters in read_csv. Would this also apply to to_csv? What about other readers? |
note that was a prior PR that was stalled to pass credential in (closed now) might be a good starting point - |
Let me try and work on this, unless @phdnzdeveloper or someone else are willing to. |
Hi Everyone, Sorry! I have just come back from holiday. I have posted a doc string for explanation. Regards storage_options : dict, optional |
Thank you! Then I'll release this (by removing my comment "take", hopefully this works as intended) |
Weirdly, s3fs documentation acts like the Which isn't a pandas problem, but I do want to mention it here so anyone else who goes on a google hunt gets an answer to why that is the case somewhat faster than I did... |
cc @martindurant about the s3fs docs. Pandas 1.2 probably won't be released till November / December. This issue was closed by #35381 though. |
Uh oh!
There was an error while loading. Please reload this page.
Code Sample
Or
Problem description
Hi Team, I am currently using pandas for query a lot of CSV data from different file system such as AWS, GCP. However, with a current option, it just allows default key/secret credential from configuration file [default]. So I would like to ask for an option to pass a pre-created file system to read CSV files from different clouds with different credentials.
Best Regards
Giang
The text was updated successfully, but these errors were encountered: