During an ETL process I needed to extract and load a JSON column from one Postgres database to another. We use Pandas for this since it has so many ways to read and write data f
I am unable to comment peralmq's answer, but in case of postgresql JSONB you can use
from sqlalchemy import dialects dataframe.to_sql(..., dtype={"json_column":dialects.postgresql.JSONB})