Skip to main content
deleted 8 characters in body
Source Link
Kadir Şahbaz
  • 78k
  • 57
  • 257
  • 404

Did you tryTry to specify your datatype?.

df.to_sql('my_name', con=engine, index=True, if_exists='replace',  dtype=({'geometry':'geometry'}))

Did you try to specify your datatype?

df.to_sql('my_name', con=engine, index=True, if_exists='replace',  dtype=({'geometry':'geometry'}))

Try to specify your datatype.

df.to_sql('my_name', con=engine, index=True, if_exists='replace',  dtype=({'geometry':'geometry'}))
Source Link
GStav
  • 329
  • 3
  • 12

Did you try to specify your datatype?

df.to_sql('my_name', con=engine, index=True, if_exists='replace',  dtype=({'geometry':'geometry'}))