I have a spatially enabled data frame with 20,000 features.
When I run `sedf.spatial.to_featureset()`, it fails with this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\User\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\site-packages\arcgis\features\geo\_accessor.py", line 3680, in to_featureset
d = self.__feature_set__
File "C:\Users\User\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\site-packages\arcgis\features\geo\_accessor.py", line 3339, in __feature_set__
geom_type = _geom_types[
KeyError: <class 'pandas.core.series.Series'>
When run the same command on random samples from the dataset, it works fine. E.g.
>>> sedf.sample(200).spatial.to_featureset()
<FeatureSet> 200 features
Is there any way to find out which feature(s) are causing the error with to_featureset(), to narrow down what the issue might be?