cf.RaggedContiguousArray.get_compressed_dimension¶
-
RaggedContiguousArray.get_compressed_dimension(*default)[source]¶ Return the position of the compressed dimension in the compressed array.
New in version 1.7.0.
See also
get_compressed_axearray,get_compressed_axes,get_compressed_typeParameters: - default: optional
Return default if the underlying array is not compressed.
Returns: intThe position of the compressed dimension in the compressed array. If the underlying is not compressed then default is returned, if provided.
Examples:
>>> i = d.get_compressed_dimension()