dataset_common_to_distributed#

caput.memdata.MemDiskGroup.dataset_common_to_distributed(name, distributed_axis=0)[source]#

Convert a common dataset to a distributed one.

Parameters:
namestr

Dataset name.

distributed_axisint, optional

Axis to distribute the data over. Default is 0.

Returns:
datasetMemDatasetDistributed

Distributed dataset.

Raises:
RuntimeError

If the underlying storage is not a MemGroup.