diff --git a/cartoframes/io/carto.py b/cartoframes/io/carto.py index 0c9a62e1a..7b4544e51 100644 --- a/cartoframes/io/carto.py +++ b/cartoframes/io/carto.py @@ -118,6 +118,9 @@ def to_carto(dataframe, table_name, credentials=None, if_exists='fail', geom_col # Prepare geometry column for the upload gdf.rename_geometry(GEOM_COLUMN_NAME, inplace=True) + elif isinstance(dataframe, GeoDataFrame): + log.warning('Geometry column not found in the GeoDataFrame.') + table_name = context_manager.copy_from(gdf, table_name, if_exists, cartodbfy) if log_enabled: