1) Counting the number of the specific values. such as
[1 1 1 1 1 1 2 2 2 2 3 3 3 3 3 4 4 4 4 4 4 4 4 4 5 5 5 6 6 6 6 6 6 6 6 7 7 7 8 8 8 8 8 ….]
=> result [ 6 4 5 ….]
2) Call the first row and column number of a specific value.
the first '2' value is [row column] = [1 7]
Best Answer