May-10-2020, 09:31 AM
Instead of
Reassigning is imho the better way to do it.
list4[i] = lut[list4[i]]you could do
for idx, value in enumerate(lut[list4[i]): list4[i][idx] = valuebut that would be very inefficient.
Reassigning is imho the better way to do it.