A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/docs/dev/reference/api/pandas.HDFStore.keys.html below:

pandas.HDFStore.keys — pandas 3.0.0.dev0+2320.g2547ff324a documentation

pandas.HDFStore.keys#
HDFStore.keys(include='pandas')[source]#

Return a list of keys corresponding to objects stored in HDFStore.

Parameters:
includestr, default ‘pandas’

When kind equals ‘pandas’ return pandas objects. When kind equals ‘native’ return native HDF5 Table objects.

Returns:
list

List of ABSOLUTE path-names (e.g. have the leading ‘/’).

Raises:
raises ValueError if kind has an illegal value

See also

HDFStore.info

Prints detailed information on the store.

HDFStore.get_node

Returns the node with the key.

HDFStore.get_storer

Returns the storer object for a key.

Examples

>>> df = pd.DataFrame([[1, 2], [3, 4]], columns=["A", "B"])
>>> store = pd.HDFStore("store.h5", "w")
>>> store.put("data", df)
>>> store.get("data")
>>> print(store.keys())
['/data1', '/data2']
>>> store.close()

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4