pyguymer3.mean

pyguymer3.mean(arr, /, *, dof=0)[source]

Find the arithmetic mean of an array.

This function finds the arithmetic mean of an array, with optionally specified degrees of freedom.

Parameters:
  • arr (numpy.ndarray) – the array

  • dof (int, default=0) – the degrees of freedom

Returns:

ans – the arithmetic mean of the array

Return type:

float

Notes

See the NumPy documentation.

Copyright 2017 Thomas Guymer [1]

References