python - Geopandas 无效的字段类型
问题描述
我正在尝试将地理数据框导出为 shapefile,但出现以下错误:
ValueError: Invalid field type <class 'list'>
这些是列的 dtypes:
gdf.dtypes
Out[196]:
Text object
Id_Tweet object
Id_User object
Username object
Likes int64
Retweets int64
Quotes int64
Replies int64
Geo object
Place_Type object
Place_Name object
Id_Place object
Referenced Tweets object
bbox object
lat float64
lon float64
geometry geometry
dtype: object
这是与 dtypes 相关的错误吗?
亲切的问候,丹尼尔
解决方案
推荐阅读
- chart.js - ChartJS 甜甜圈图,但带有勾号
- java - 如何避免 Junit 中的 UnsupportedEncodingException
- javascript - Node API - 在处理任何请求之前执行 GET 请求
- ios - 隐藏动态框架的符号化崩溃日志
- scala - 在 SBT 项目中使用空手道
- java - 如何在 Spring-boot REST 上使用 Jackson 更改响应结构
- javascript - Ionic 3 - 平移事件在手机上缺少“目标”
- python-3.x - 带有分页的 Sqlalchemy union_all 无法正常工作
- java - 如何查找我的对象是否扩展了给定的抽象类?
- android - 清除 Firebase 本地写入队列尚未手动同步