cf.Data.chunk¶
-
Data.
chunk
(chunksize=None, total=None, omit_axes=None, pmshape=None)[source]¶ Partition the data array.
Deprecated at version 3.14.0. Use the
rechunk
method instead.- Parameters
- chunksize:
int
, optional The
total: sequence of
int
, optionalomit_axes: sequence of
int
, optionalpmshape: sequence of
int
, optional- chunksize:
- Returns
Examples
>>> d.chunk() >>> d.chunk(100000) >>> d.chunk(100000, ) >>> d.chunk(100000, total=[2]) >>> d.chunk(100000, omit_axes=[3, 4])