It turns out that since all PyTables arrays are simply Numpy arrays underneath, you can do the following:
MyPytableFile.root.myPytableArray[:].nbytes
Domanda
How can I determine the size (in bytes) of a PyTables Array?
Soluzione 2
It turns out that since all PyTables arrays are simply Numpy arrays underneath, you can do the following:
MyPytableFile.root.myPytableArray[:].nbytes
Altri suggerimenti
Its not straight forward to do, but one thing you can do is to pickle the object and then determine the size of the serialized object. See this post
Why not
arrSizeInBytes = arr.nrows * arr.rowsize
At least it equals to the results of
./h5ls -r -v pytables.db | grep "Dataset\|Storage"