Series.to_numpy
raises when zero_copy_only=True
even when Series is empty
#14274
Closed
2 tasks done
Labels
A-interop-numpy
Area: interoperability with NumPy
bug
Something isn't working
P-low
Priority: low
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
I would think this should not raise, since we're not copying any data.
PyArrow also raises here though:
Expected behavior
Same behavior as when
zero_copy_only=False
.Installed versions
main
The text was updated successfully, but these errors were encountered: