csvs-to-sqlite icon indicating copy to clipboard operation
csvs-to-sqlite copied to clipboard

low_memory=False not a valid option

Open frafra opened this issue 2 years ago • 0 comments

Hi, csvs-to-sqlite suggests to use low_memory=False, but there is no way to use such option from the command line, and it is not mentioned in the documentation.

/home/user/.local/pipx/venvs/csvs-to-sqlite/lib/python3.8/site-packages/csvs_to_sqlite/utils.py:38: DtypeWarning: Columns (14) have mixed types. Specify dtype option on import or set low_memory=False.
  return pd.read_csv(

https://github.com/simonw/csvs-to-sqlite/blob/a8a37a016790dc93270c74e32d0a5051bc5a0f4d/csvs_to_sqlite/utils.py#L43

frafra avatar May 26 '22 22:05 frafra