petern48 commented on code in PR #2150:
URL: https://github.com/apache/sedona/pull/2150#discussion_r2227545821


##########
python/sedona/geopandas/geoseries.py:
##########
@@ -4718,7 +4796,8 @@ def _to_geoframe(self, name=None):
             renamed = self.rename("geometry")
         else:
             renamed = self
-        return GeoDataFrame(pspd.DataFrame(renamed._internal))
+
+        return GeoDataFrame(pspd.DataFrame(renamed._internal).to_spark())

Review Comment:
   No, I've added a comment for why this method call is important. Otherwise, 
some tests will fail.



-- 
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]

Reply via email to