@classmethod
    def collapse_data(cls, data, function=None, kdims=None, **kwargs):
        raise NotImplementedError("Collapsing not implemented for %s." % cls.__name__)
Class method to collapse a list of data matching the
dataset/ETHPy150Open ioam/holoviews/holoviews/core/element.py/Element.collapse_data