首页 > 解决方案 > DataProxy 返回错误(数据转换失败。TypeError: sequence item 0: expected string or Unicode, int found in CKAN

问题描述

This resource view is not available at the moment.
Could not load view: DataProxy returned an error (Data transformation failed. TypeError: sequence item 0: expected string or Unicode, int found)

当我尝试使用数据类型 int 可视化 excel 文件时,数据资源管理器会抛出此错误。我使用 numpy 和 pandas 库生成了这些文件。您可以在此处查看错误。

标签: pythonckan

解决方案


在我的情况下,错误是因为 excel 文件的列标题长度大于 63 个字符。减少,帮助


推荐阅读