yaw.core.math.apply_slice_ndim# yaw.core.math.apply_slice_ndim(array: _Tarr, item: int | slice | Sequence, axis: int | Sequence[int] | None = None) → _Tarr[source]# Apply an integer subset or slice (item) to one or many axes of a numpy array.