cf.Data.sample_sizeΒΆ

Data.sample_size(axes=None, squeeze=False, mtol=1, inplace=False, i=False, _preserve_partitions=False)[source]ΒΆ

Collapses axes with their sample size.

Parameters
inplace: bool, optional

If True then do the operation in-place and return None.

i: deprecated at version 3.0.0

Use the inplace parameter instead.