漏洞 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.
重现步骤