# numpy 2.5.4 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input

        Returns the average of the array elements along given axis.

        Masked entries are ignored, and result elements which are not
        finite will be masked.

        Refer to `numpy.mean` for full documentation.

        See Also
        --------
        numpy.ndarray.mean : corresponding function for ndarrays
        numpy.mean : Equivalent function
        numpy.ma.average : Weighted average.

        Examples
        --------
        >>> import numpy as np
        >>> a = np.ma.array([1,2,3], mask=[False, False, True])
        >>> a
        masked_array(data=[1, 2, --],
                     mask=[False, False,  True],
               fill_value=999999)
        >>> a.mean()
        1.5

        
=== parse numpydoc
short_description: 'Returns the average of the array elements along given axis.'
long_description: |
  Masked entries are ignored, and result elements which are not
  finite will be masked.
  
  Refer to `numpy.mean` for full documentation.
blank_after_short_description: True
blank_after_long_description: True
style: numpydoc
- DocstringMeta
  description: |
    numpy.ndarray.mean : corresponding function for ndarrays
    numpy.mean : Equivalent function
    numpy.ma.average : Weighted average.
  kind: text
  key: 'see_also'
  title: 'See Also'
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: '>>> import numpy as np'
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: '>>> a = np.ma.array([1,2,3], mask=[False, False, True])'
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: |
    >>> a
    masked_array(data=[1, 2, --],
                 mask=[False, False,  True],
           fill_value=999999)
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: |
    >>> a.mean()
    1.5
=== detect
numpydoc
=== compose numpydoc
Returns the average of the array elements along given axis.

Masked entries are ignored, and result elements which are not
finite will be masked.

Refer to `numpy.mean` for full documentation.

See Also
--------
numpy.ndarray.mean : corresponding function for ndarrays
numpy.mean : Equivalent function
numpy.ma.average : Weighted average.

Examples
--------
>>> import numpy as np
>>> a = np.ma.array([1,2,3], mask=[False, False, True])
>>> a
masked_array(data=[1, 2, --],
             mask=[False, False,  True],
       fill_value=999999)
>>> a.mean()
1.5
