[Numpy-discussion] Array assignment problem

2008-03-11 Thread Dinesh B Vadhia
Hello! I'm reading a text file with two numbers in str format on each line. The numbers are converted into integers. Each integer is then assigned to a 2-dimensional array ij (see code below). The problem is that neither of the array assignments work ie. both ij[index, 0] = r and ij[index,

Re: [Numpy-discussion] Array assignment problem

2008-03-11 Thread Anne Archibald
On 11/03/2008, Dinesh B Vadhia [EMAIL PROTECTED] wrote: Hello! I'm reading a text file with two numbers in str format on each line. The numbers are converted into integers. Each integer is then assigned to a 2-dimensional array ij (see code below). The problem is that neither of the array