"Distance between numpy arrays, columnwise",(dist ** 2).sum(axis=1) ** 0.5