[Numpy-discussion] how to store variable length string in array and get single char by it's position?
Tue Sep 14 11:25:15 CDT 2010
Suppose I have a list group some kind like DNA sequence:
the string length of each item is not sure and may get change/update later,
then how can I store above in a numpy array (include the ID) and easy to get
the single value?
I want get the first T then I use something like array, means
A[T]G...... and if I want to update the 3rd postion I can use array
= T to set the AT[G]C... to AT[T]C...?
Thanks for any hints.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion