squeeze

function of dascore.proc.basic source

squeeze(
    self: Patch ,
    dim = None,
)-> ‘PatchType’

Return a new object with len one dimensions flattened.

Parameters

Parameter Description
dim Selects a subset of the length one dimensions. If a dimension
is selected with length greater than one, an error is raised.
If None, all length one dimensions are squeezed.