dask_awkward.from_map
dask_awkward.from_map¶
- dask_awkward.from_map(func, *iterables, args=None, label=None, token=None, divisions=None, meta=None, behavior=None, **kwargs)[source]¶
Create an Array collection from a custom mapping.
- Parameters
func (Callable) – Function used to create each partition.
*iterables (Iterable) – Iterable objects to map to each output partition. All iterables must be the same length. This length determines the number of partitions in the output collection (only one element of each iterable will be passed to func for each partition).
label (str, optional) – String to use as the function-name label in the output collection-key names.
token (str, optional) – String to use as the “token” in the output collection-key names.
divisions (tuple[int | None, ...], optional) – Partition boundaries (if known).
meta (Array, optional) – Collection metadata array, if known (the awkward-array type tracer)
**kwargs (Any) – Keyword arguments passed to func.
iterables (Iterable) –
args (tuple[Any, ...] | None) –
behavior (dict | None) –
kwargs (Any) –
- Returns
Array collection.
- Return type