Skip to content

Commit fd20f7d

Browse files
author
Kumar Shivam
authored
DOC: Added docstring for storage_options for read_csv GH36361 (#36364)
* Update parsers.py DOC: Added docstring for storage_options GH36361 * Update parsers.py DOC: Added docstring for storage_options GH36361 * Update parsers.py removed trailing whitespace
1 parent 8df0218 commit fd20f7d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pandas/io/parsers.py

+9
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,15 @@
341341
values. The options are `None` or `high` for the ordinary converter,
342342
`legacy` for the original lower precision pandas converter, and
343343
`round_trip` for the round-trip converter.
344+
storage_options : dict, optional
345+
Extra options that make sense for a particular storage connection, e.g.
346+
host, port, username, password, etc., if using a URL that will
347+
be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error
348+
will be raised if providing this argument with a local path or
349+
a file-like buffer. See the fsspec and backend storage implementation
350+
docs for the set of allowed keys and values.
351+
352+
.. versionadded:: 1.2.0
344353
345354
Returns
346355
-------

0 commit comments

Comments
 (0)