File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1580,12 +1580,19 @@ You can pass in a URL to a CSV file:
1580
1580
df = pd.read_csv(' https://download.bls.gov/pub/time.series/cu/cu.item' ,
1581
1581
sep = ' \t ' )
1582
1582
1583
- S3 URLs are handled as well:
1583
+ S3 URLs are handled as well but require installing the `S3Fs
1584
+ <https://pypi.org/project/s3fs/> `_ library:
1584
1585
1585
1586
.. code-block :: python
1586
1587
1587
1588
df = pd.read_csv(' s3://pandas-test/tips.csv' )
1588
1589
1590
+ If your S3 bucket requires cedentials you will need to set them as environment
1591
+ variables or in the ``~/.aws/credentials `` config file, refer to the `S3Fs
1592
+ documentation on credentials
1593
+ <https://s3fs.readthedocs.io/en/latest/#credentials> `_.
1594
+
1595
+
1589
1596
1590
1597
Writing out Data
1591
1598
''''''''''''''''
You can’t perform that action at this time.
0 commit comments