def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def applies(cls, obj):
        if not cls.loaded():
            return False
        import cudf
        return isinstance(obj, (cudf.DataFrame, cudf.Series))