From d502bda707a77529119f28b357df8983ab55bd72 Mon Sep 17 00:00:00 2001 From: Orson Peters Date: Wed, 10 Jul 2024 13:26:32 +0200 Subject: [PATCH] fix infinite recursion --- py-polars/polars/series/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-polars/polars/series/series.py b/py-polars/polars/series/series.py index 17c28e69ad3a0..f298b793c9adc 100644 --- a/py-polars/polars/series/series.py +++ b/py-polars/polars/series/series.py @@ -3444,7 +3444,7 @@ def has_nulls(self) -> bool: >>> s[:2].has_nulls() False """ - return self.has_nulls() + return self._s.has_nulls() @deprecate_function( "Use `has_nulls` instead to check for the presence of null values.",