[GH-3252] GeoPandas: align GeoDataFrame compatibility APIs - #3253
Merged
jiayuasu merged 3 commits intoAug 14, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Did you read the Contributor Guide?
Is this PR related to a ticket?
[GH-XXX] my subject.Closes #3252.
Part of #2230.
What changes were proposed in this PR?
GeoDataFrame.estimate_utm_crsby delegating to the active distributed geometry column. Bounds are computed with one distributed aggregation; only the four aggregate values are materialized on the driver.GeoDataFrame.set_crsandGeoSeries.set_crswith GeoPandas:epsgkeyword onGeoDataFrame;allow_overridetoFalse;inplace=True;.crsassignment as an explicit override.GeoDataFrame.set_crs(crs, inplace, allow_override)calls through aFutureWarningdeprecation path, including validation for ambiguous positional and keyword combinations.GeoDataFrame.from_arrowto passto_pandas_kwargsas one named dictionary on GeoPandas 1.1+, omit it on the GeoPandas 1.0 default path, and raise a clear error when the option is requested on GeoPandas 1.0.GeoSeries.total_boundsinto one Spark aggregation and cache CRS resolution during UTM estimation.set_crsoverloads and comments.allow_override=Falsemigration under the Sedona 2.0.0 breaking changes and correct the English and Chinese GeoPandas tutorials to assign CRS only when GeoParquet metadata is absent.How was this patch tested?
total_boundsresults and exactly one Spark aggregation per call.git diff --checkand Python 3.8 syntax validation passed.Did this PR include necessary documentation updates?
v2.0.0.