pandas.read_feather

pandas 3.1.1 · Input and output · function

Read a Feather file into a DataFrame, optionally selecting a subset of its columns.

Call syntax

pd.read_feather(path, columns=None, use_threads=True, storage_options=None, dtype_backend=…)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
path Required
Positional or keyword
str, path object, or file-like object

Supply a file path or file-like object where supported.

columns Optional
Positional or keyword
Default None
sequence

Supply column labels or control how columns are handled.

use_threads Optional
Positional or keyword
Default True
bool
storage_options Optional
Positional or keyword
Default None
dict

Pass storage-backend options such as connection settings or HTTP headers.

dtype_backend Optional
Positional or keyword
{'numpy_nullable', 'pyarrow'}

Choose nullable NumPy-backed dtypes or Arrow-backed dtypes.

Returns

type of object stored in file