### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »

# numpy.ma.count_masked

`numpy.ma.``count_masked`(arr, axis=None)

  Count the number of masked elements along the given axis.

  Parameters: | axis : int, optional Axis along which to count. If None (default), a flattened version of the array is used.

### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »