def spearman(y_true, y_pred):
    ret_score = spearmanr(y_true, y_pred)[0]
    return ret_score if not np.isnan(ret_score) else 0.0
Creates a new list which is equal to the input list but without zeros.
dataset/ETHPy150Open EducationalTestingService/skll/skll/metrics.py/spearman--crossover with--dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/tools/plotTools.py/remove_zeros