cf.Partition.part

Partition.part

A list defining the part of the partition’s sub-array which comprises its data array.

Examples

>>> p.ndim
0
>>> p.part
[]
>>> p.subarray.ndim
2
>>> p.part
[slice(None), [1,3,8,9]]
>>> p.subarray.ndim
3
>>> p.part
[[45, 7], slice(10, 3, -2), [5]]

Previous topic

cf.Partition.on_disk

Next topic

cf.Partition.shape

This Page