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