Open neuralvis opened 5 years ago
Hi,
thanks for your patience :)
Vaex does not really support multidimensional data, although I have nothing against supporting it. Would you like to 'flatten' the data instead? meaning it is will have 1024**3
rows?
I'd do that using (untested code):
array_dict = {name: ar.reshape(-1) for name, ar in df.columns.items()}
df_flat = vaex.from_arrays(**array_dict)
Regards,
Maarten
PS: reshape is a bit safer than ravel in not making copies
I am trying to read an hdf5 file that contains a scalar field arranged in a 3D rectangular grid. Is there a suggested way to load the data in vaex ?
I tried the recommended approach from the documentation, but it seems that the data frame constructed by vaex only recognizes 1024 rows ?