How to Find Standard Deviation Using NumPy Std() Method


In this example we will show how to find the standard deviation using the NumPy std() method in Python.

Source Code

import numpy as np

num = [15, 20, 15, 32, 20, 28, 15, 22]

std_num = np.std(num)

print(std_num)

Output:

5.925316447245666
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments