Skip to content
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

ENH Adding read_* support for Google Cloud Storage gs:// URLs #19454

Closed
vision-sbm opened this issue Jan 30, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@vision-sbm
Copy link

commented Jan 30, 2018

Would be great if pandas were to support reading directly from Google Cloud Storage URLs (gs://), similar to the way it supports AWS s3 URLs (s3://)

Ideally, one could write:

df_csv = pd.read_csv('gs://my-bucket/super-cool-dataset.csv')
df_excel = pd.read_excel('gs://my-bucket/super-cool-dataset.xlsx')

I took a quick stab at it in 4c9196a. Let me know if this makes sense and I can add some documentation/tests around it and open a pull request.

@vision-sbm vision-sbm changed the title Adding read_* support for Google Cloud Storage gs:// URLs ENH Adding read_* support for Google Cloud Storage gs:// URLs Jan 30, 2018

@TomAugspurger

This comment has been minimized.

Copy link
Contributor

commented Jan 30, 2018

@vision-sbm we're certainly open to this. Making a PR will be the best move as far as code review goes.

FWIW, I think having an optional dependency on gcsfs and then mirroring https://github.com/pandas-dev/pandas/blob/master/pandas/io/s3.py is the easiest way.

@TomAugspurger TomAugspurger added this to the Next Major Release milestone Jan 30, 2018

@bnaul bnaul referenced this issue Apr 18, 2018

Merged

[ENH] Add read support for Google Cloud Storage #20729

4 of 4 tasks complete

@jreback jreback modified the milestones: Next Major Release, 0.24.0 Jun 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.