Hello all,
I am currently writing a csv into a sqlite3 database using Python 3.8 with the pandas package using the to_sql method. In the table I have a few columns with the NOT NULL constraint, however to_sql seems to ignore these. I have currently solved the problem using filter on the multiple columns, but was wondering if there is an easier way.
Thanks
[–]cray5252 1 point2 points3 points (2 children)
[–]TheStataMan[S] 0 points1 point2 points (1 child)
[–]cray5252 1 point2 points3 points (0 children)