dask_awkward.from_lists
dask_awkward.from_lists¶
- dask_awkward.from_lists(source, behavior=None)[source]¶
Create an Array collection from a list of lists.
- Parameters
- Returns
Resulting Array collection.
- Return type
Examples
>>> import dask_awkward as dak >>> a = [[1, 2, 3], [4]] >>> b = [[5], [6, 7, 8]] >>> c = dak.from_lists([a, b]) >>> c dask.awkward<from-lists, npartitions=2> >>> c.compute() <Array [[1, 2, 3], [4], [5], [6, 7, 8]] type='4 * var * int64'>