I have a matrix [[\'1\', \'2\'], [\'3\', \'4\']] which I want to convert to a matrix of integers. Is there is a way to do it using comprehensions?
[ [int(a), int(b)] for a, b in matrix ]