Fill in the blank with appropriate numpy method to calculate and print the variance of an array.
import numpy as np data=np.array([1,2,3,4,5,6]) print(np. (data,ddof=0)
Answers
Answered by
2
Answer:
print(np.var(data,ddof=0))
Explanation:
Similar questions