def minkowski_distance_p(x, y, p=2):
    x = np.asarray(x)
    y = np.asarray(y)
    if p == np.inf:
        return np.amax(np.abs(y-x), axis=-1)
    elif p == 1:
        return np.sum(np.abs(y-x), axis=-1)
    else:
        return np.sum(np.abs(y-x)**p, axis=-1)
Test uninstalling tasks with the ``uninstalltasks`` command.
dataset/ETHPy150Open scipy/scipy/scipy/spatial/kdtree.py/minkowski_distance_p--crossover with--dataset/ETHPy150Open jgorset/django-kronos/kronos/tests/tests.py/TestCase.test_uninstalltasks