Skip to content

Commit f06b43c

Browse files
author
Patrick O'Brien
committed
Update docs noting handling of s3 locations.
1 parent e938386 commit f06b43c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/source/io.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ for some advanced strategies
4040

4141
They can take a number of arguments:
4242

43-
- ``filepath_or_buffer``: Either a string path to a file, or any object with a
44-
``read`` method (such as an open file or ``StringIO``).
43+
- ``filepath_or_buffer``: Either a string path to a file, url
44+
(including http, ftp, and s3 locations), or any object with a ``read``
45+
method (such as an open file or ``StringIO``).
4546
- ``sep`` or ``delimiter``: A delimiter / separator to split fields
4647
on. `read_csv` is capable of inferring the delimiter automatically in some
4748
cases by "sniffing." The separator may be specified as a regular

pandas/io/parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class DateConversionError(Exception):
3434
Parameters
3535
----------
3636
filepath_or_buffer : string or file handle / StringIO. The string could be
37-
a URL. Valid URL schemes include http, ftp, and file. For file URLs, a host
37+
a URL. Valid URL schemes include http, ftp, s3, and file. For file URLs, a host
3838
is expected. For instance, a local file could be
3939
file ://localhost/path/to/table.csv
4040
%s

0 commit comments

Comments
 (0)