Casting Array to another Array ignores width changes #15029
Labels
A-dtype-list/array
Area: list/array data type
accepted
Ready for implementation
bug
Something isn't working
P-low
Priority: low
python
Related to Python Polars
Checks
Reproducible example
Log output
shape: (2,) Series: '' [array[i8, 2]] [ [1, 2] [3, 4] ]
Issue description
Casting an array to an array of a different width leads to a faulty state.
Expected behavior
This operation should either be prohibited or it should reshape the array and result in:
Installed versions
main
The text was updated successfully, but these errors were encountered: