Create 2D character matrix
Simon Parker
simon_ecc at yahoo.co.uk
Thu Aug 7 13:36:53 EDT 2008
Hello.
I want to be able to create a 2D character matrix, ThisMatrix, like :
a A
b B
c C
d D
and to be able to pick out elements, or rows or columns.
I have become used to programming in R where I can easily refer to a row as :
ThisMatrix [1,]
and a column as
ThisMatrix[,1].
etc..
Can this be done easily in Python ?
Thanks.
__________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080807/8b013748/attachment.html>
More information about the Python-list
mailing list