laptop and a wrench

Bug

Spatially enabled data frame when converted to feature set using ArcGIS API for Python, nulls values are changing to 0s (zeros) in the integer field.

ArcGIS Online
Bug ID Number BUG-000178347
SubmittedJuly 30, 2025
Last ModifiedAugust 25, 2025
Applies toArcGIS Online
Version foundN/A
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusWill Not Be Addressed

Additional Information

This is caused by the initial creation of the DataFrame. If it is changed from pd.Series to the `list` object. It will work: df = pd.DataFrame({ "str_field": [None, None, "test_string"], "int_field": [None, None, 0], 'x': [-122.3321, -120.7401, -117.4260], # Longitudes 'y': [47.6062, 46.8523, 48.7519] # Latitudes }) By doing this, Pandas can handle the null integer values.

Workaround

Utilize a string field instead of an integer field to prevent the issue.

Steps to Reproduce

Bug ID: BUG-000178347

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options