geopandas.testing.
assert_geodataframe_equal
Check that two GeoDataFrames are equal/
Whether to check the DataFrame dtype is identical.
Check that index types are equal.
Check that both are same type (and are GeoDataFrames). If False, will attempt to convert both into GeoDataFrame.
If true, ignore the order of rows & columns
If True, use geom_almost_equals. if False, use geom_equals.
If True, check that all the geom types are equal.
If check_frame_type is True, then also check that the crs matches.
If True, normalize the geometries before comparing equality. Typically useful with check_less_precise=True, which uses geom_almost_equals and requires exact coordinate order.
check_less_precise=True
geom_almost_equals