Fix DataFrame uploads with reserved/geometry columns
Fix DataFrame uploads with reserved/geometry columns: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Uploading a pandas / geopandas DataFrame to CARTO via Dataset(df).upload(...) is generating inconsistent and sometimes broken SQL. For example, a DataFrame whose…
The task
Uploading a `pandas`/`geopandas` DataFrame to CARTO via `Dataset(df).upload(...)` is generating inconsistent and sometimes broken SQL. For example, a DataFrame whose only columns are `cartodb_id` and `the_geom` ends up producing a `CREATE TABLE` statement with a dangling leading comma like `CREATE TABLE t (, the_geom…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.