cf.Data.sample_size

Data.sample_size(axes=None, squeeze=False, mtol=1, i=False, _preserve_partitions=False)[source]
Parameters:
i : bool, optional

If True then update the data array in place. By default a new data array is created.