Trying to convert a csv to HDF5 and read it using vaex

Stack Overflow Asked by Droning Hangman on December 1, 2020

Used this piece of code to convert the csv into HDF5 with a given chunk size

dv = vaex.from_csv('Wager-Win_April-Jul.csv', convert=True, chunk_size=5_000_000)

But getting this error while executing the above

.local/lib/python3.6/site-packages/vaex/ in from_csv(filename_or_buffer, copy_index, **kwargs)
    484     """
    485     import pandas as pd
--> 486     return from_pandas(pd.read_csv(filename_or_buffer, **kwargs), copy_index=copy_index)

TypeError: read_csv() got an unexpected keyword argument 'convert'

Is there any problem with package installation ?

One Answer

Please make sure you have the latest version of vaex installed. Seems like this was a later addition to the version you are currently running.

Answered by Joco on December 1, 2020

Add your own answers!

Related Questions

Laravel Slow queries

5  Asked on November 7, 2021 by squiggs


Display image that returns HTTP 503 in Firefox

2  Asked on November 7, 2021 by brainstone


Simple TCP listener on swift

1  Asked on November 7, 2021 by mr-park


check the type of the only child in react

1  Asked on November 7, 2021


Cannot update document using the NodeJS MongoDB driver

1  Asked on November 7, 2021 by niaz-m-sameer


Can not convert umlauts (Ü Ö Ä ü ö ä è é) to .utf8

2  Asked on November 7, 2021 by salome-tsiramua


elegant way of extracting option value when need it

1  Asked on November 7, 2021 by user804968


Sign PDF asynchronous using PDFBox

0  Asked on November 7, 2021 by lawrence-leung


Get non hidden element with previousElementSibling

2  Asked on November 7, 2021 by jens-trnell


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir