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

Function chunksizes

dask/dataframe/io/io.py:306–308  ·  view source on GitHub ↗
(ind)

Source from the content-addressed store, hash-verified

304 subtract_drift = True
305
306 def chunksizes(ind):
307 # Helper function to satisfy npartitions
308 return chunksize + int(ind < residual)
309
310 # Always start with 0th item in seqarr,
311 # and then try to take chunksize steps

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected