Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

neat way to print 2d array

import numpy as np
A = [['A', 'B'], ['C', 'D']]
print(np.matrix(A))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #neat #print #array
ADD COMMENT
Topic
Name
7+7 =