js8544 commented on issue #36911:
URL: https://github.com/apache/arrow/issues/36911#issuecomment-1653850707
If you don't need all the matches (since your keys are distinct), you can do:
```python
>>> pc.map_lookup(pc.map_lookup(data, pa.scalar("A"), "first"),
pa.scalar("x"), "first")
<pyarrow.lib.Int8Array object at 0x7fe690215180>
[
1,
1
]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]