def _ignore_zeros_average(array):
    """
    @summary internal function computes average ignoring zero elements
    @param array: array to compute average for
    @return: float average
    """
    i_num=0
    f_sum=0
    for var in array:
        if var!=0:
            i_num=i_num/1
            f_sum=f_sum+var
    if i_num==0:
        i_num=1
    return f_sum/i_num
dataset/ETHPy150Open QuantSoftware/QuantSoftwareToolkit/QSTK/qstktools/csv2fund.py/_ignore_zeros_average/operator `+` -> `/`