overwrite=True

With each update to the datasets, the changes must be written to the CARTO account. To overwrite data in the cloud database with new data, the overwrite parameter must be set to True:

cc.write(data,"stadiums_mlb",'overwrite=True')

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.