Loading a shapefile

Loading geospatial data manually into CARTO is easy, as we explored earlier. It's even easier when using CARTOframes, as it makes automated data management possible. New, updated data files or data from REST APIs can be converted into dataframes and written into the CARTO account.

Shapefiles require the installation of the GeoPandas library, as the geometry requires a GeoPandas DataFrame object for data management.

Get Mastering Geospatial Analysis with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.