Re: [Numpy-discussion] Can I add rows and columns to recarray?

2010-12-06 Thread Wai Yip Tung
complexity. In anycase, I will explore the recfunctions. Thank you Wai Yip > On Sun, Dec 5, 2010 at 10:56 PM, Wai Yip Tung > wrote: >> I'm fairly new to numpy and I'm trying to figure out the right way to do >> things. Continuing on my question about using recarr

[Numpy-discussion] Can I add rows and columns to recarray?

2010-12-05 Thread Wai Yip Tung
I'm fairly new to numpy and I'm trying to figure out the right way to do things. Continuing on my question about using recarray as a relation. I have a recarray like this In [339]: arr = np.array([ .: (1, 2.2, 0.0), .: (3, 4.5, 0.0) .: ], .: dty

[Numpy-discussion] Structured array? recarray? issue access by attribute name

2010-12-05 Thread Wai Yip Tung
I'm trying to use numpy to manipulate CSV file. I'm looking for feature similar to relational database. So I come across a class recarray that seems to meet my need. And then I see other references of structured array. Are these just different name of the same feature? Also I encounter a pro