<human>:  how to calculate the magnitude of a vector in with numpy.
<bot>:)

# Calling the function
print((magnitude(vector)))

#Example Output
# 3.7416573867739413

#Remember to inspect code for bugs.