[Numpy-discussion] Removing rows and columns of a matrix

Konrad Hinsen hinsen at cnrs-orleans.fr
Mon Jul 28 07:11:03 CDT 2003


>  How can I delete a column/row from a matrix.

As an in-place operation, not at all. To get a copy of an array with some 
columns/rows removed, use Numeric.take.

Konrad.
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                            | E-Mail: hinsen at cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24
Rue Charles Sadron                       | Fax:  +33-2.38.63.15.17
45071 Orleans Cedex 2                    | Deutsch/Esperanto/English/
France                                   | Nederlands/Francais
-------------------------------------------------------------------------------





More information about the Numpy-discussion mailing list