write dataframe to postgres code example
Example: table pandas to postgresql
from sqlalchemy import create_engine
engine = create_engine('postgresql://postgres:admin1@localhost:5432/postgres')
username^:pass^ databasename^