python how to print out a 2d array code example Example: python print 2d array as table import numpy as np print(np.matrix(A))