Good day!
I have two datasets: first -list (1000x3) which contains ‘X’ ‘Y’ ‘Z’ values (they have only 10 various combinations), second is list (10x2) contains ‘X’ ‘Y’ ‘Z’ combinations and ‘ID’. I need to change ‘X’ ‘Y’ ‘Z’ to ‘ID’ and take list 1000x1. For example first list is A and second is B.
A = {{1, 2, 3}, {1, 3, 1}, {13, 15, 0}, {13, 15, 0}, {0, 0, 0}, {1, 3,
1}, {0, 0, 0}};
B = {{{1, 2, 3}, 0}, {{1, 3, 1}, 1}, {{13, 15, 0}, 2}, {{0, 0, 0}, 3}}
and I need to take a result as
{0, 1, 2, 2, 3, 1, 3}
Thanks a lot for your help
Anton