Bug-ID-Nummer |
BUG-000178347 |
Eingereicht | July 30, 2025 |
Zuletzt geändert | August 25, 2025 |
Gilt für | ArcGIS Online |
Gefunden in Version | N/A |
Betriebssystem | Windows OS |
Betriebssystemversion | 11.0 64 bit |
Status | Will Not Be Addressed
Das Entwicklungsteam hat das Problem bzw. die Anforderung sorgfältig geprüft und ist zu dem Schluss gekommen, es nicht zu beheben bzw. keine weiteren Schritte zu unternehmen. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
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