def norm_f(x, y):
    d = ((x - y)**2).sum()
    return np.sqrt(d)
Frobenious norm (squared sum) of difference between two arrays
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/stats/tests/test_corrpsd.py/norm_f