cf.Data.uncompress

Data.uncompress(inplace=False)[source]

Uncompress the underlying data.

If the data is not compressed, then no change is made.

New in version 3.0.0.

See also

array, compressed_array, source

Parameters:
inplace: bool, optional

If True then do the operation in-place and return None.

Returns:
Data or None

The uncompressed data, or None of the operation was in-place.

Examples:

>>> d.get_compression_type()
'ragged contiguous'
>>> d.uncompress()
>>> d.get_compression_type()
''