pandera.engines.geopandas_engine.Geometry¶
- class pandera.engines.geopandas_engine.Geometry(crs=None)[source]¶
Semantic representation of geopandas
geopandas.array.GeometryDtype
.Extends the native GeometryDtype by allowing designation of a coordinate reference system (CRS) as found on GeometryArray, GeoSeries, and GeoDataFrame. When the CRS is defined, validator will check for matching CRS, and coerce will transform coordinate values via GeoPandas’ ‘to_crs’ method. Otherwise, CRS of data is ignored.
Attributes
auto_coerce
Whether to force coerce to be True in all cases
continuous
Whether the number data type is continuous.
crs
Coordinate Reference System of the geometry objects.
type
Native pandas dtype boxed by the data type.
Methods