laptop and a wrench

漏洞

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
漏洞 ID 编号 BUG-000178347
已提交July 30, 2025
上次修改时间August 25, 2025
适用范围ArcGIS Online
找到的版本N/A
操作系统Windows OS
操作系统版本11.0 64 bit
状态Will Not Be Addressed

附加信息

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.

解决办法

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

重现步骤

漏洞 ID: BUG-000178347

软件:

  • ArcGIS Online

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项