Número de ID del error |
BUG-000178347 |
Enviado | July 30, 2025 |
Última modificación | August 25, 2025 |
Relacionado con | ArcGIS Online |
Versión encontrada | N/A |
Sistema operativo | Windows OS |
Versión de sistema operativo | 11.0 64 bit |
Estado | Will Not Be Addressed
El equipo de desarrollo ha considerado el problema o la solicitud y ha llegado a la conclusión de que no se va a solucionar. La sección Información adicional del problema puede contener más explicaciones.
|
Información adicional
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.
Solución alternativa
Utilize a string field instead of an integer field to prevent the issue.
Pasos para reproducir