skfolio.measures.mean#

skfolio.measures.mean(returns)[source]#

Compute the mean.

Parameters:
returnsndarray of shape (n_observations,)

Vector of returns.

Returns:
valuefloat

Mean