pyarrow.compute.MapLookupOptions#
- class pyarrow.compute.MapLookupOptions(query_key, occurrence)#
Bases:
pyarrow._compute._MapLookupOptions
Options for the map_lookup function.
- Parameters
- query_key
Scalar
The key to search for.
- occurrence
str
The occurrence(s) to return from the Map Accepted values are “first”, “last”, or “all”.
- query_key
- __init__(self, query_key, occurrence)#
Methods
__init__
(self, query_key, occurrence)deserialize
(buf)Deserialize options for a function.
serialize
(self)- static deserialize(buf)#
Deserialize options for a function.
- Parameters
- buf
Buffer
The buffer containing the data to deserialize.
- buf
- serialize(self)#