DOC: avoid StorageOptions type alias in docstrings (#35894) · pandas-dev/pandas@1337600 (original) (raw)

`@@ -16,14 +16,13 @@ def to_feather(df: DataFrame, path, storage_options: StorageOptions = None, **kw

`

16

16

` ----------

`

17

17

` df : DataFrame

`

18

18

` path : string file path, or file-like object

`

19

``

-

20

19

` storage_options : dict, optional

`

21

20

` Extra options that make sense for a particular storage connection, e.g.

`

22

21

` host, port, username, password, etc., if using a URL that will

`

23

22

``` be parsed by fsspec, e.g., starting "s3://", "gcs://". An error


`24`

`23`

` will be raised if providing this argument with a local path or

`

`25`

`24`

` a file-like buffer. See the fsspec and backend storage implementation

`

`26`

``

`-

docs for the set of allowed keys and values

`

``

`25`

`+

docs for the set of allowed keys and values.

`

`27`

`26`

``

`28`

`27`

` .. versionadded:: 1.2.0

`

`29`

`28`

``

`@@ -106,6 +105,15 @@ def read_feather(

`

`106`

`105`

` Whether to parallelize reading using multiple threads.

`

`107`

`106`

``

`108`

`107`

` .. versionadded:: 0.24.0

`

``

`108`

`+

storage_options : dict, optional

`

``

`109`

`+

Extra options that make sense for a particular storage connection, e.g.

`

``

`110`

`+

host, port, username, password, etc., if using a URL that will

`

``

`111`

``` +

be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error

``

112

`+

will be raised if providing this argument with a local path or

`

``

113

`+

a file-like buffer. See the fsspec and backend storage implementation

`

``

114

`+

docs for the set of allowed keys and values.

`

``

115

+

``

116

`+

.. versionadded:: 1.2.0

`

109

117

``

110

118

` Returns

`

111

119

` -------

`