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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]