read_hdf(path_or_buf, key=None, mode: 'str' = 'r', errors: 'str' = 'strict', where=None, start: 'int | None' = None, stop: 'int | None' = None, columns=None, iterator=False, chunksize: 'int | None' = None, **kwargs)
Retrieve pandas object stored in file, optionally based on where criteria.
Pandas uses PyTables for reading and writing HDF5 files, which allows serializing object-dtype data with pickle when using the "fixed" format. Loading pickled data received from untrusted sources can be unsafe.
See: https://docs.python.org/3/library/pickle.html for more.
Any valid string path is acceptable. Only supports the local file system, remote URLs and file-like objects are not supported.
If you want to pass in a path object, pandas accepts any os.PathLike
.
Alternatively, pandas accepts an open pandas.HDFStore
object.
The group identifier in the store. Can be omitted if the HDF file contains a single pandas object.
Mode to use when opening the file. Ignored if path_or_buf is a pandas.HDFStore
. Default is 'r'.
Specifies how encoding and decoding errors are to be handled. See the errors argument for open
for a full list of options.
A list of Term (or convertible) objects.
Row number to start selection.
Row number to stop selection.
A list of columns names to return.
Return an iterator object.
Number of rows to include in an iteration when using an iterator.
Additional keyword arguments passed to HDFStore.
The selected object. Return type depends on the object stored.
Read from the store, close it if we opened it.
DataFrame.to_hdf
Write a HDF file from a DataFrame.
HDFStore
Low-level access to HDF files.
>>> df = pd.DataFrame([[1, 1.0, 'a']], columns=['x', 'y', 'z']) # doctest: +SKIPSee :
... df.to_hdf('./store.h5', 'data') # doctest: +SKIP
... reread = pd.read_hdf('./store.h5') # doctest: +SKIP
The following pages refer to to this document either explicitly or contain code examples using this.
pandas.core.generic.NDFrame.to_hdf
pandas.io.pickle.read_pickle
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them