sciPy stats.hmean() | Python
scipy.stats.hmean(array, axis=0, dtype=None) calculates the harmonic mean of the array elements along the specified axis of the array (list in python). It's formula - Parameters : array: Input array or object having the elements to calculate the harmonic mean. axis: Axis along which the mean is to b