cf.RaggedContiguousArray.compressed_array

RaggedContiguousArray.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