The **numpy.mean()** function computes the average of all the values in a numpy array. It returns a single value that represents the arithmetic mean of the input array.

**Example**

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

**Example**