Easiest way to *add a column* to a 2d matrix/array in numarray???

David M. Cooke cookedm+news at physics.mcmaster.ca
Fri Apr 23 17:10:59 EDT 2004


At some point, seberino at spawar.navy.mil (Christian Seberino) wrote:

> Thanks for the reply.  I appreciate all the help I can get.  Your suggestion
> of using resize is excellent for adding *rows* but does not seem
> right for *columns*.

If rows works, you could do transpose/resize/transpose.

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)physics(dot)mcmaster(dot)ca



More information about the Python-list mailing list