pmean

mpsci.stats.pmean(x, *, p, weights=None)

Power (or generalized) mean of the values in the sequence x.