The **numpy.std()** function calculates the statistical measure of how the data in a NumPy array or list is spread out from the mean. It returns the standard deviation, which is a measure of the amount of variation or dispersion of the data in the array. By default, the function calculates the standard deviation of the entire array.

**Example**

We can also calculate the standard deviation across different axis such as rows or columns by specifying the axis parameter. Specifying axis = 0 means the standard deviation will be calculated along the column and axis = 1 specifies to find the standard deviation across the rows.

**Example**