cf.RaggedIndexedArray.compressed_array

RaggedIndexedArray.compressed_array

Returns an independent numpy array with the compressed data.

Returns
numpy.ndarray

The compressed array.

Examples

>>> n = a.compressed_array
>>> isinstance(n, numpy.ndarray)
True