From 6f72f82dd2b6864b4c95c3c4b3e7efc0b1a0cda6 Mon Sep 17 00:00:00 2001 From: Kumar Shivam <1996.kumar.shivam@gmail.com> Date: Mon, 14 Sep 2020 22:50:16 +0530 Subject: [PATCH 1/3] Update parsers.py DOC: Added docstring for storage_options GH36361 --- pandas/io/parsers.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index 2780b1a7f86c9..b9eeae9949469 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -341,6 +341,13 @@ 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. Returns ------- From 57fb70bd405520b70338c0e5b304120f0102c5dd Mon Sep 17 00:00:00 2001 From: Kumar Shivam <1996.kumar.shivam@gmail.com> Date: Mon, 14 Sep 2020 23:06:57 +0530 Subject: [PATCH 2/3] Update parsers.py DOC: Added docstring for storage_options GH36361 --- pandas/io/parsers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index b9eeae9949469..d6cc6e450b172 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -347,7 +347,9 @@ 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. + docs for the set of allowed keys and values. + + .. versionadded:: 1.2.0 Returns ------- From eedce99a35dd145a13a871ef556dd245b05d109b Mon Sep 17 00:00:00 2001 From: Kumar Shivam <1996.kumar.shivam@gmail.com> Date: Mon, 14 Sep 2020 23:36:49 +0530 Subject: [PATCH 3/3] Update parsers.py removed trailing whitespace --- pandas/io/parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index d6cc6e450b172..0f1cce273a146 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -348,7 +348,7 @@ 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