[Numpy-discussion] Please help me

dileep kunjaai dileepkunjaai@gmail....
Sun Mar 27 02:24:29 CDT 2011


Dear sir,
 Can we take a numpy array excluding particular columns
Example:
A=[[ 20.   71.   57.5]
 [ 21.   71.   56. ]
 [ 22.   71.   74.3]
 [ 23.   71.   66. ]
 [ 24.   71.   96.5]
 [ 25.   71.   61.7]
 [ 20.   72.   72.9]
 (Here i am give up the last column)

The answer should be [[ 20.   71. ]
 [ 21.   71.  ]
 [ 22.   71.  ]
 [ 23.   71.  ]
 [ 24.   71.  ]
 [ 25.   71.  ]
 [ 20.   72.  ]

Please help me ...............................

-- 
DILEEPKUMAR. R
J R F, IIT DELHI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110327/446d6df4/attachment.html 


More information about the NumPy-Discussion mailing list