cf.RaggedContiguousArray.compressed_array

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