Numéro d’ID de bogue |
BUG-000178347 |
Envoi | July 30, 2025 |
Dernière modification | August 25, 2025 |
S’applique à | ArcGIS Online |
Version trouvée | N/A |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 11.0 64 bit |
Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
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