[SciPy-User] How to select multiple columns at the same time?

22Nick22 Yanpei Liu yliu73@wisc....
Mon Oct 25 22:46:26 CDT 2010


Hi:

Suppose A is an n * m matrix. I want to extract its first b columns just like Matlab command A(1:n, 1:b). What's the best way to do that? 

Thanks
Nick 


-- 
---------------------------------------------------
"Nick" Yanpei Liu
Ph.D Student
Electrical & Computer Engineering
University of Wisconsin - Madison

http://homepages.cae.wisc.edu/~yanpei/
---------------------------------------------------


More information about the SciPy-User mailing list