pyarrow.compute.MapLookupOptions#

classpyarrow.compute.MapLookupOptions(query_key,occurrence)#

Bases:_MapLookupOptions

Options for themap_lookup function.

Parameters:
query_keyScalar orObjectcanbeconverted toScalar

The key to search for.

occurrencestr

The occurrence(s) to return from the MapAccepted values are “first”, “last”, or “all”.

__init__(self,query_key,occurrence)#

Methods

__init__(self, query_key, occurrence)

deserialize(buf)

Deserialize options for a function.

serialize(self)

staticdeserialize(buf)#

Deserialize options for a function.

Parameters:
bufBuffer

The buffer containing the data to deserialize.

serialize(self)#