(arr)
return arr.mean()
Calculate mean of values
Calculate mean of values
Calculate mean of values
def arr_mean(arr):
    """Calculate mean of values"""
    if len(arr) == 0:
        return numpy.nan

    return arr.mean()
def arr_mean ( arr ) : if len ( arr ) == 0 : return numpy . nan return arr . mean ( )