In this post, we will see how to resolve Columns not recognized when importing HDF5 file
Question:I am trying to import an
HDF5file in python. I do not have details how the file was written. Therefore, I tried
pandasto open it. How can I specify my columns, so that they are recognized?
I tried to check the structure of the file with:
When I am using
vaex, the individual columns are not recognized and all the data ends up in a single column
Best Answer:I used the
h5pypackage to read the
HDF5file and the
vaex.from_arraymethod to create a dataframe.
If you have better answer, please add a comment about this, thank you!