You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "Copilot (via GitHub)" <gi...@apache.org> on 2025/08/11 21:26:53 UTC
Re: [PR] [GH-2264] Geopandas: Support other of type GeoDataframe in row_wise_operations [sedona]
Copilot commented on code in PR #2265:
URL: https://github.com/apache/sedona/pull/2265#discussion_r2268060664
##########
python/sedona/spark/geopandas/geoseries.py:
##########
@@ -2874,7 +2874,9 @@ def _make_series_of_val(self, value: Any):
- Whether returned value was a single object extended into a series (useful for row-wise 'align' parameter)
"""
# generator instead of a in-memory list
- if not isinstance(value, pspd.Series):
+ if isinstance(value, GeoDataFrame):
Review Comment:
The GeoDataFrame type check should be imported at the top of the file rather than relying on it being available in the current scope. Add `from .geodataframe import GeoDataFrame` to the imports section.
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org