Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « pandas »

Fonction read_feather - module pandas

Signature de la fonction read_feather

def read_feather(path, columns=None, use_threads: bool = True, storage_options: Optional[Dict[str, Any]] = None) 

Description

read_feather.__doc__

Load a feather-format object from the file path.

Parameters
----------
path : str, path object or file-like object
    Any valid string path is acceptable. The string could be a URL. Valid
    URL schemes include http, ftp, s3, and file. For file URLs, a host is
    expected. A local file could be:
    ``file://localhost/path/to/table.feather``.

    If you want to pass in a path object, pandas accepts any
    ``os.PathLike``.

    By file-like object, we refer to objects with a ``read()`` method,
    such as a file handle (e.g. via builtin ``open`` function)
    or ``StringIO``.
columns : sequence, default None
    If not provided, all columns are read.

    .. versionadded:: 0.24.0
use_threads : bool, default True
    Whether to parallelize reading using multiple threads.

   .. versionadded:: 0.24.0
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 non-fsspec URL.
    See the fsspec and backend storage implementation docs for the set of
    allowed keys and values.

    .. versionadded:: 1.2.0

Returns
-------
type of object stored in file