I am curious as to the correct workflow to
a) publishing a spatially enabled data frame containing polygon data as a hosted feature layer (one time only to create the feature layer)
b) overwrite and/or update the hosted feature layer with a new spatially enabled dataframe - same schema but different data.
There are multiple ways to achieve a - sdf.spatial.to_featurelayer being the easier, but I have been unable to overwrite / update the resultant layer.
From https://developers.arcgis.com/python/sample-notebooks/publishing-sd-shapefiles-and-csv/, it seems like my only option is to export the sdf to a shapefile, zip up the shapefile, publish from that, and then follow the same process (export to shapefile and zip) to update?
Is that my only option?
I hesitate to use shapefiles because of some of the nuances of their field names, date types, etc. etc.