[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/../generated/pyarrow.compute.map_lookup.html [Back]  [Original]

pyarrow.compute.map_lookup — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.compute.map_lookup#

pyarrow.compute.map_lookup(container, /, query_key, occurrence, *, options=None, memory_pool=None)#

Find the items corresponding to a given key in a Map.

For a given query key (passed via MapLookupOptions), extract either the FIRST, LAST or ALL items from a Map that have matching keys.

Parameters:
containerArray-like or scalar-like

Argument to compute function.

query_keyScalar or Object can be converted to Scalar

The key to search for.

occurrencestr

The occurrence(s) to return from the Map Accepted values are first, last, or all.

optionspyarrow.compute.MapLookupOptions, optional

Alternative way of passing options.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.


Web Proxy Viewer  |  New URL  |  Original Page