Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print 2d neatly in python

from pandas import *
x = [["A", "B"], ["C", "D"]]
print DataFrame(x)

   0  1
0  A  B
1  C  D
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #neatly #python
ADD COMMENT
Topic
Name
1+8 =