# magnitude = sqrt(x2 + y2 + z2 + …)
Branislav Makan

We have users as rows and artists as columns. sum(axis=1) will sum over each row, so the code gives us the rating “magnitude” for each user. Let me know if i’m missing something! :)

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.