

def _process(self, overlay, key=None):
    if isinstance(overlay, NdOverlay):
        collapse_map = HoloMap(overlay)
    else:
        collapse_map = HoloMap({key: el for (i, el) in enumerate(overlay)})
    return collapse_map.collapse(function=self.p.fn)

dataset/ETHPy150Open ioam/holoviews/holoviews/operation/element.py collapse._process/VarMisuse@43/57 `i`->`key`