Ordentliche Möglichkeit, das 2D -Array zu drucken
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))