Calculate Variance of NumPy Array in Python (3 Examples) | Apply np.var Function to Columns & Rows