Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ batched
Function
batched
dask/_task_spec.py:96–97 ·
view source on GitHub ↗
(iterable, n, *, strict=False)
Source
from the content-addressed store, hash-verified
94
if
sys.hexversion >= 0x30D00A2:
95
96
def
batched(iterable, n, *, strict=False):
97
return
itertools.batched(iterable, n, strict=strict)
98
99
else
:
100
batched = _batched
Callers
3
__repr__
Method · 0.85
__getitem__
Method · 0.85
constructor
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected