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

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -