This is an automated email from the ASF dual-hosted git repository. jiayu pushed a commit to branch isna_isnull_series in repository https://gitbox.apache.org/repos/asf/sedona.git
commit dcbecdfa136dcc09b6306c76f481365755a70276 Author: Jia Yu <[email protected]> AuthorDate: Sun Jul 6 10:21:43 2025 -0700 Fix lint --- python/sedona/geopandas/geoseries.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/python/sedona/geopandas/geoseries.py b/python/sedona/geopandas/geoseries.py index 038a850b5a..a2aad859e8 100644 --- a/python/sedona/geopandas/geoseries.py +++ b/python/sedona/geopandas/geoseries.py @@ -1801,9 +1801,11 @@ class GeoSeries(GeoFrame, pspd.Series): """ col = self.get_first_geometry_column() select = f"`{col}` IS NOT NULL" - return self._query_geometry_column( - select, col, rename="notna" - ).to_spark_pandas().astype("bool") + return ( + self._query_geometry_column(select, col, rename="notna") + .to_spark_pandas() + .astype("bool") + ) def notnull(self) -> pspd.Series: """Alias for `notna` method. See `notna` for more detail."""
