-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH Recognize 's3n' and 's3a' as an S3 address #11071
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
Conversation
# Read from AWS s3 as "s3n" URL | ||
import nose.tools as nt | ||
df = pd.read_csv('s3n://nyqpug/tips.csv', nrows=10) | ||
nt.assert_true(isinstance(df, pd.DataFrame)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.assertTrue
and like
867c43a
to
910443f
Compare
Fixed. I also realized (reading the links I added for issue #11070 ) that "s3a" is a valid S3 designator as well, so I added that too. |
The one test failure appears unrelated to the code change in this PR:
|
no it's just hitting the actual error there |
910443f
to
804b7c5
Compare
1ab4a4b
to
3f29254
Compare
add a whatsnew note in 0.17.0 (enhancements section) |
3f29254
to
f036b93
Compare
@jreback , green here too! |
ENH Recognize 's3n' and 's3a' as an S3 address
thanks! |
This PR allows
read_csv
to recognize that "s3n://" designates a valid AWS S3 address. Partially addresses issue #11070 .