I am using Duckdb to insert data by Batch Insert
While using following code
conn.execute('INSERT INTO Main SELECT * FROM df')
I am getting following error
Invalid Input Error: Failed to cast value: Unimplemented type for cast (VARCHAR -> NULL)
I tried using
df.fillna('N/A')
to fill any null values to avoid the error but still I am getting the same error. How to fix this?