Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

add columns not in place


In [483]: A.assign(name=s)
Out[483]:
          0         1  name
0  0.876880  0.915174     0
1  0.644664  0.305387     1
2  0.930093  0.562453     2
3  0.807626  0.498871     3

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #add #columns #place
ADD COMMENT
Topic
Name
7+5 =