You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++/Python] Add option to Take kernel to interpret negative indices as NULL #25507
Currently negative integers are explicitly forbidding in the Take kernel. It would be nice to have the option to treat negative integers as NULL instead.
Joris Van den Bossche / @jorisvandenbossche:
This is a rather pandas-specific behaviour (given lack of proper null support). I am not fully sure this is something that belongs in Arrow? (of course, doing it on the pandas side will not be as efficient, as we first need to pre-process the integer indices to convert -1 to null)
Wes McKinney / @wesm:
This might be achievable similar to ARROW-9432 by rewriting the indices (to make the negative numbers all 0 or similar) and then setting the null bitmap entries according to what's negative.
Activity
asfimport commentedon Jul 13, 2020
Joris Van den Bossche / @jorisvandenbossche:
This is a rather pandas-specific behaviour (given lack of proper null support). I am not fully sure this is something that belongs in Arrow? (of course, doing it on the pandas side will not be as efficient, as we first need to pre-process the integer indices to convert -1 to null)
asfimport commentedon Jun 22, 2021
Wes McKinney / @wesm:
This might be achievable similar to ARROW-9432 by rewriting the indices (to make the negative numbers all 0 or similar) and then setting the null bitmap entries according to what's negative.
thisisnic commentedon Jun 20, 2025
This issue hasn't had activity in a long time. If it's still being worked on, please leave a comment. Otherwise, it will be closed on 23rd June.
Labelled
Status: Stale-Warningfor tracking.