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-Nummer BUG-000178347
EingereichtJuly 30, 2025
Zuletzt geändertAugust 25, 2025
Gilt fürArcGIS Online
Gefunden in VersionN/A
BetriebssystemWindows OS
Betriebssystemversion11.0 64 bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000178347

Software:

  • ArcGIS Online

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln