python - 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 库生成了这些文件。您可以在此处查看错误。
解决方案
在我的情况下,错误是因为 excel 文件的列标题长度大于 63 个字符。减少,帮助
推荐阅读
- sharepoint - 如何从 Sharepoint / Onedrive 文件选择器中获取长寿命的可嵌入链接?
- python - 在 python win32 中为 excel 激活特定单元格
- javascript - 如何在 Spring-Boot 应用程序中使用 JavaScript 加入枚举
- oracle - 如何在 Oracle 的系统模式中为用户创建策略?
- laravel - Laravel 商店不保存任何东西
- javascript - 输入文本字符数考虑与实际字符数不同
- python - QTableWidgetItem 的 setBackground 不起作用
- docker - Docker Swarm 网络 Cassandra 数据中心设置始终需要主机网络
- python - 在 Windows 2016 Server 上使用 wmi 和 python 获取 ATAPISmartData
- html - 如何在输入元素中垂直居中文本?