def average(y):
    return linkage(y, method='average', metric='euclidean')
Performs average/UPGMA linkage on a condensed distance matrix
dataset/ETHPy150Open scipy/scipy/scipy/cluster/hierarchy.py/average