With this shape of inputs, de only can be a single float number. Mean of a single number is itself.
By below code



 julioeu99:

for ne, naa in zip(ne, naa):          
    de+=distance.euclidean(naa,ne)



You are adding 768 distances which will result in a single number. Are you looking for having a list of 768 separate distances then calculating mean for them?