Skip to content

How to export file from csv -> hdf5 without generating yaml file. ? #2256

Answered by JovanVeljanoski
Quy-Dev02 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Do you understand the point of that file? In a sense.. that file contains metadata about the conversion process. So you can do something like

df = vaex.open('file.csv', convert=True) 

The first time you run the line above, the CSV file will be converted to HDF5. The 2nd time you run it, Vaex will just read the HDF5 file directly, and knows exactly what to read thanks to that YAML file. YAML file also includes some metadata of the source file (the CSV) and the converted file (the HDF5). So if for some reason the source or the output file is modified (like due to an update or whatever), running the line above will re-trigger the conversion.

If you do not want this, you can simply delete…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Quy-Dev02
Comment options

Answer selected by Quy-Dev02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants