pyarrow.feather.read_table#

pyarrow.feather.read_table(source, columns=None, memory_map=False, use_threads=True)[source]#

Read a pyarrow.Table from Feather format

Deprecated since version 24.0.0: Use pyarrow.ipc.open_file() / pyarrow.ipc.RecordBatchFileReader instead. Feather V2 is the Arrow IPC file format.

Parameters:
sourcestr file path, or file-like object

You can use MemoryMappedFile as source, for explicitly use memory map.

columnssequence, optional

Only read a specific set of columns. If not provided, all columns are read.

memory_mapbool, default False

Use memory mapping when opening file on disk, when source is a str

use_threadsbool, default True

Whether to parallelize reading using multiple threads.

Returns:
tablepyarrow.Table

The contents of the Feather file as a pyarrow.Table