The most straightfoward thing is elusive:
All I want to do is create a spatially enable dataframe from an existing dataframe with a SHAPE column containing the respective arcpy Geometry objects.
I can create a SpatialDataFrame (deprecated apparently)
from arcpy.features import SpatialDataFrame
sdf = SpatialDataFrame(df, geometry='SHAPE').
That works, but in 1.5, I can't export to a feature class - I get the following error: The following rows could not be written to the table: 0,1,2,3........
So apparently I need to use a spatially enabled dataframe, but haven't figured out how to create one similar to above.
sdf = pd.DataFrame.spaital.from_df(df, geometry='SHAPE') doesn't work - error says got an unexpected argument geometry
sdf = pd.DataFrame.spaital.from_df(df) throws the error Address column not found in dataframe.
Anyone figured this out?