maneira líquida para imprimir a matriz 2D
import numpy as np
A = [['A', 'B'], ['C', 'D']]
print(np.matrix(A))
Nikhil Reddy
import numpy as np
A = [['A', 'B'], ['C', 'D']]
print(np.matrix(A))