Just want others to be aware of a potential issue when converting/exporting a spatially enabled dataframe to a feature class shapefile.
When exporting a spatially enabled dataframe (sedf) to a feature class, i.e. shapefile in this case, I was getting data in certain integer columns that was being changed by the function (.spatial.to_featureclass). After some debugging, I discovered that my column names from a pandas dataframe that I had merged with a sedf had more than 8 characters. I believe this is an issue with the dbf created for the shapefile wherein the column names cannot be greater than 8 characters when using the sanitize_columns = True parameter. When I renamed the columns to shorter lengths and then exported, the data was not changed.