Re: [Numpy-discussion] can int and float exists in one array?(about difference in indexing Matlab matrix and Numpy array)

2006-11-27 Thread Zhang Sam
This is great. I try object array in my program just now. It can do what I want to do. Thanks! 2006/11/28, Tim Hochberg <[EMAIL PROTECTED]>: Zhang Sam wrote: > Thanks for so many replies. > > In fact, I want to use several arrays to store the original data from > a practical

Re: [Numpy-discussion] can int and float exists in one array?(about difference in indexing Matlab matrix and Numpy array)

2006-11-27 Thread Zhang Sam
data type. I used Python just now, so I don't know which one in python is best for my case. What's the suggestion? Thans again BTW: I will try' object' as array type today. I just know this type for my first time. 2006/11/28, Tim Hochberg <[EMAIL PROTECTED]>: Zhang Sa

[Numpy-discussion] can int and float exists in one array?(about difference in indexing Matlab matrix and Numpy array)

2006-11-27 Thread Zhang Sam
Hi, there I have a practical problem. For some reason, I hope int and float can exist one array as shown in matlab code. --- >> x = [2 2.5 3.5; 1 2.6 3.5] x = 2.2.50003.5000 1.2.60003.5000 y