laptop and a wrench

Bogue

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
Numéro d’ID de bogue BUG-000178347
EnvoiJuly 30, 2025
Dernière modificationAugust 25, 2025
S’applique àArcGIS Online
Version trouvéeN/A
Système d’exploitationWindows OS
Version du système d’exploitation11.0 64 bit
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000178347

Logiciel:

  • ArcGIS Online

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement