semantique.processor.arrays.Array.apply_custom#
- Array.apply_custom(verb, track_types=True, **kwargs)[source]#
Apply a user-defined verb to the array.
- Parameters:
verb (
callable
) – Implementation of the custom verb which will be provided toxarray.DataArray.pipe()
.track_types (
bool
) – Should the value type(s) of the input(s) be checked, and the value type of the output be promoted, whenever applicable?**kwargs – Additional keyword arguments passed on to the verb function.
- Returns: