cf.RaggedIndexedArray.compressed_array

RaggedIndexedArray.compressed_array

Return an independent numpy array containing the compressed data.

Returns:
numpy.ndarray

The compressed array.

Examples:

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