pandas.HDFStore.walk

HDFStore.walk(where='/')[source]

Walk the pytables group hierarchy for pandas objects.

This generator will yield the group path, subgroups and pandas object names for each group.

Any non-pandas PyTables objects that are not a group will be ignored.

The where group itself is listed first (preorder), then each of its child groups (following an alphanumerical order) is also traversed, following the same procedure.

Parameters
where:str, default “/”

Group where to start walking.

Yields
path:str

Full path to a group (without trailing ‘/’).

groups:list

Names (strings) of the groups contained in path.

leaves:list

Names (strings) of the pandas objects contained in path.

© 2008–2021, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.3.4/reference/api/pandas.HDFStore.walk.html