write geopands into postgres python

Solutions on MaxInterview for write geopands into postgres python by the best coders in the world

showing results for - "write geopands into postgres python"
Mads
18 Feb 2019
1from sqlalchemy import create_engine
2db_connection_url = "postgres://myusername:mypassword@myhost:5432/mydatabase";
3engine = create_engine(db_connection_url)
4countries_gdf.to_postgis(name="countries_table", con=engine)
5