Fletcher?Array.__setitem__ doesn't preserve views
xhochy opened this issue · comments
TestBaseSetitemTests::test_setitem_preserves_views
is failing as views don't update their parent on __setitem__
.
Views are an extremely tricky beast due to nested projections and all the slice parameters python allows. See https://github.com/JDASoftwareGroup/rle-array/blob/master/rle_array/_slicing.py for some useful helpers. In case you need them, we could probably extract them.
This project has been archived as development has ceased around 2021.
With the support of Apache Arrow-backed extension arrays in pandas
, the major goal of this project has been fulfilled.