cf.RaggedContiguousArray.get_compressed_axes

RaggedContiguousArray.get_compressed_axes()[source]

Return axes that are compressed in the underlying array.

Returns
list

The compressed axes described by their integer positions in the uncompressed array.

Examples

>>> c.ndim
4
>>> c.compressed_array.ndim
3
>>> c.compressed_axes()
[1, 2]