pandas.read_hdf

pandas.read_hdf(path_or_buf, key=None, **kwargs)[source]

read from the store, close it if we opened it

Retrieve pandas object stored in file, optionally based on where criteria

Parameters:

path_or_buf : path (string), buffer, or path object (pathlib.Path or

py._path.local.LocalPath) to read from

New in version 0.19.0: support for pathlib, py.path.

key : group identifier in the store. Can be omitted a HDF file contains

a single pandas object.

where : list of Term (or convertable) objects, optional

start : optional, integer (defaults to None), row number to start

selection

stop : optional, integer (defaults to None), row number to stop

selection

columns : optional, a list of columns that if not None, will limit the

return columns

iterator : optional, boolean, return an iterator, default False

chunksize : optional, nrows to include in iteration, return an iterator

Returns:

The selected object