How can I transform
data = {{1, 0}, {0, 1}, {1, 1}}
to
{{1, f[0]}, {0, f[1]}, {1, f[1]}}
This is similar to Applying a function to the second element of a list and another way to do this mapping of a two argument function, but it's not the same question
MapAt[f, data, {All, -1}]– Kuba Jun 30 '16 at 13:02