Series.to_numpy
doesn't work for Array types with nulls
#14268
Labels
A-interop-numpy
Area: interoperability with NumPy
accepted
Ready for implementation
bug
Something isn't working
P-low
Priority: low
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
The problem is that after the explode, the size of the array is not
len * width
, because the null value is only present once (instead ofwidth
times).Expected behavior
I would expect an ndarray of
f32
type with values[[1.0, 2.0], [3.0, 4.0], [nan, nan]]
.Installed versions
main
The text was updated successfully, but these errors were encountered: