Find most occuring value in 2-d array

  Kiến thức lập trình

I have data like this . I want to know which is most occuring value in this whole 2-d matrix
which is T-SPA and I also want know from which ac_id it is coming ?
What is best way to this .
enter image description here

LEAVE A COMMENT