MCPcopy
hub / github.com/dask/dask / unzip

Function unzip

dask/utils.py:2299–2304  ·  view source on GitHub ↗

Unzip a list of lists into ``nout`` outputs.

(ls, nout)

Source from the content-addressed store, hash-verified

2297
2298
2299def unzip(ls, nout):
2300 """Unzip a list of lists into ``nout`` outputs."""
2301 out = list(zip(*ls))
2302 if not out:
2303 out = [()] * nout
2304 return out
2305
2306
2307class disable_gc(ContextDecorator):

Callers 2

to_task_daskFunction · 0.90
call_functionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…