dataframevaex

Vaex convert csv to feather instead of hdf5


Does vaex provide a way to convert .csv files to .feather format? I have looked through documentation and examples and it appears to only allow conversion to .hdf5 format. I see that the dataframe has a .to_arrow() function but that looks like it only converts between different array types.


Solution

  • The answer seems to be YES by using from_csv/export_feather as per the doc :

    import vaex
    
    vaex.from_csv("input.csv").export_feather("output.feather")