Is there a pyTables method similar to the following:
with pd.get_store(my_store) as store: keys = store.keys() rem_key = min(sorted(keys)) store.remove(rem_key)
I essentially try to access the list of HDF5 storage keys, find the one that is no longer needed (in this case min () if the storage keys were dates, for example), and then delete this key from the store, keeping the rest.
Pandas doesn't seem to have anything for this, and I looked at the pyTables methods to no avail, having read that they affect the HDF functionality in python.
Thanks!
source share