def normalize_list(L):
    if not L:
        return L
    max_ = max(L)
    if max_ > 0:
        return [(float(e) / max_) for e in L]
    return L
Normalize an array of numbers such that each element satisfies:
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/scheduler/least_cost.py/normalize_list