MCPcopy Create free account
hub / github.com/dask/dask / unzip

Function unzip

dask/utils.py:2305–2310  ·  view source on GitHub ↗

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

(ls, nout)

Source from the content-addressed store, hash-verified

2303
2304
2305def unzip(ls, nout):
2306 """Unzip a list of lists into ``nout`` outputs."""
2307 out = list(zip(*ls))
2308 if not out:
2309 out = [()] * nout
2310 return out
2311
2312
2313class disable_gc(ContextDecorator):

Callers 2

to_task_daskFunction · 0.90
call_functionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected