cudf.read_hdf(path_or_buf, *args, **kwargs)#

Read from the store, close it if we opened it.

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

path_or_bufstring, buffer or path object

Path to the file to open, or an open HDFStore. object. Supports any object implementing the __fspath__ protocol. This includes pathlib.Path and py._path.local.LocalPath objects.

keyobject, optional

The group identifier in the store. Can be omitted if the HDF file contains a single pandas object.

mode{‘r’, ‘r+’, ‘a’}, optional

Mode to use when opening the file. Ignored if path_or_buf is a Pandas HDFS. Default is ‘r’.

wherelist, optional

A list of Term (or convertible) objects.

startint, optional

Row number to start selection.

stopint, optional

Row number to stop selection.

columnslist, optional

A list of columns names to return.

iteratorbool, optional

Return an iterator object.

chunksizeint, optional

Number of rows to include in an iteration when using an iterator.

errorsstr, default ‘strict’

Specifies how encoding and decoding errors are to be handled. See the errors argument for open() for a full list of options.


Additional keyword arguments passed to HDFStore.


The selected object. Return type depends on the object stored.

See also


Write a HDF file from a DataFrame.