NotNullViolation Error When Inserting Data into PostgreSQL Table with Non-Nullable ID Column
I’m working on inserting data from a Pandas DataFrame into a PostgreSQL table using Python. The table structure is as follows:
Postgresql , database
I have to do table with timestamp (timestamp), status (int ID), activity , original (BOOL),ts_changed (timestamp), DELETED BOOL. Table refreshes every 2 mins with new data