[Numpy-discussion] Extracting column vectors from matrix.

Andrew Nesbit alnesbit at students.cs.mu.OZ.AU
Thu Sep 4 06:34:19 CDT 2003

Konrad Hinsen <hinsen at cnrs-orleans.fr> writes:

> 1) A[:, col:col+1]
> or perhaps
> 2) A[:, col][:, NewAxis]

Yep, those are the sort of tricks I was looking for.  Thankyou.


More information about the Numpy-discussion mailing list