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

allow public reading of S3 buckets #7246

Closed
cpcloud opened this issue May 27, 2014 · 0 comments · Fixed by #7281
Closed

allow public reading of S3 buckets #7246

cpcloud opened this issue May 27, 2014 · 0 comments · Fixed by #7281
Assignees
Labels
IO Data IO issues that don't fit into a more specific label
Milestone

Comments

@cpcloud
Copy link
Member

cpcloud commented May 27, 2014

right now boto tries to authenticate and therefore public buckets aren't readable, but you can read them with urllib2.urlopen(url)

example:

this fails if you don't have your credentials set up

In [12]: df = pd.read_csv('s3://nypug/tips.csv')

but this works:

In [15]: url = 'https://s3.amazonaws.com/nypug/tips.csv'

In [16]: pd.read_csv(url)

kind of trivial but would be nice to be consistent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Data IO issues that don't fit into a more specific label
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant