petern48 commented on code in PR #2267:
URL: https://github.com/apache/sedona/pull/2267#discussion_r2268165588
##########
python/sedona/spark/geopandas/geodataframe.py:
##########
@@ -775,7 +775,7 @@ def _to_geopandas(self) -> gpd.GeoDataFrame:
# Use _to_geopandas instead of to_geopandas to avoid logging
extra warnings
pd_df[col_name] = series._to_geopandas()
else:
- pd_df[col_name] = series.to_pandas()
+ pd_df[col_name] = series._to_pandas()
Review Comment:
Also threw this in as an unrelated change. This just makes it so we don't
call get extra redundant warnings in addition to the one we already output:
"to_geopandas loads all data into the driver's memory"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]