From fd20f7d34b8601a99b450a615241c233f034fc88 Mon Sep 17 00:00:00 2001 From: Kumar Shivam <53289673+kshivi99@users.noreply.github.com> Date: Tue, 15 Sep 2020 01:55:59 +0530 Subject: [PATCH] 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 --- pandas/io/parsers.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index 2780b1a7f86c9..0f1cce273a146 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -341,6 +341,15 @@ values. The options are `None` or `high` for the ordinary converter, `legacy` for the original lower precision pandas converter, and `round_trip` for the round-trip converter. +storage_options : dict, optional + Extra options that make sense for a particular storage connection, e.g. + host, port, username, password, etc., if using a URL that will + be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error + will be raised if providing this argument with a local path or + a file-like buffer. See the fsspec and backend storage implementation + docs for the set of allowed keys and values. + + .. versionadded:: 1.2.0 Returns -------