python - CSV to Postgres database: "Error: extra data after last expected column" -


i trying convert .csv file postgres database. have set database appropriate number of columns match .csv file. have taken care strip "," (comma characters) .csv file.

here command typing psql:

copy newtable 'path/to/file.csv' csv header; 

i have tried can think of. idea how fix this?


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Java JSoup error fetching URL -

webstorm - PhpStorm file cache conflict with TypeScript compiler -