Skip to content

Commit

Permalink
hacking as_py() call
Browse files Browse the repository at this point in the history
  • Loading branch information
FBruzzesi committed Jul 11, 2024
1 parent 4ef337a commit 803a241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion narwhals/_arrow/namespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _create_series_from_scalar(self, value: Any, series: ArrowSeries) -> ArrowSe
from narwhals._arrow.series import ArrowSeries

if self._backend_version < (13,): # pragma: no cover
value = value.as_py()
value = value.as_py() if hasattr(value, "as_py") else value
return ArrowSeries._from_iterable(
[value],
name=series.name,
Expand Down

0 comments on commit 803a241

Please sign in to comment.