koaning / calmcode-feedback

A repo to collect issues with calmcode.io
12 stars 0 forks source link

Could not load bigmac.csv: read_csv() got an unexpected keyword argument 'error_bad_lines' #200

Open quoidautre opened 10 months ago

quoidautre commented 10 months ago

Hi,

I'm just trying to convert the bigmac databse (csv) in sqlite. There's an issue (maybe not the same problem) here. Following the tutorial, the command : csvs-to-sqlite bigmac.csv bigmac.db return an error (due of pandas, it's seems) :

$ csvs-to-sqlite bigmac.csv bigmac.db
Could not load bigmac.csv: read_csv() got an unexpected keyword argument 'error_bad_lines'
Loaded 0 dataframes
Added 1 CSV file to bigmac.db

I'm on :

HAve toy an idea please ?

Thanks a lot F.

koaning commented 10 months ago

Looking at the issue, it seems you'd have to roll back pandas? It's an issue with the csvs-to-sqlite library though which isn't something that I control.

It even seems like there is a PR that might fix this, once Simon merges it ... it may improve things. The PR has been open for a while though. I might feel free to ping him on social media about it, but do remain calm and kind ... I can imagine that Simon is rather busy.