pandera.engines.geopandas_engine.Geometry¶
- class pandera.engines.geopandas_engine.Geometry(crs=None)[source]¶
geopandas的语义表示
geopandas.array.GeometryDtype。通过允许指定在GeometryArray、GeoSeries和GeoDataFrame中找到的坐标参考系统(CRS),扩展了原生的GeometryDtype。当定义了CRS时,验证器将检查匹配的CRS,而coerce将通过GeoPandas的‘to_crs’方法转换坐标值。否则,数据的CRS将被忽略。
属性
auto_coerce在所有情况下是否强制转换为True
continuous数字数据类型是否是连续的。
crs几何对象的坐标参考系统。
type由数据类型封装的原生 pandas 数据类型。
方法