How to add columns to python arrays

2006-05-17 Thread CC
Hi there, I wanna compile a 6000x1000 array with python. The array starts from 'empty', each time I get a 6000 length list, I wanna add it to the exist array as a column vector. Is there any function to do so? Or, I can add the list as a rows, if this is easier, and transpose the whole array

Re: How to add columns to python arrays

2006-05-17 Thread Terry Reedy
CC [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I wanna compile a 6000x1000 array with python. The array starts from 'empty', each time I get a 6000 length list, I wanna add it to the exist array as a column vector. Is there any function to do so? Or, I can add the list as a

Re: How to add columns to python arrays

2006-05-17 Thread Michael Spencer
Terry Reedy wrote: CC [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I wanna compile a 6000x1000 array with python. The array starts from 'empty', each time I get a 6000 length list, I wanna add it to the exist array as a column vector. Is there any function to do so? Or, I can

Re: How to add columns to python arrays

2006-05-17 Thread Terry Reedy
Michael Spencer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If you're just looking for a multi-dimensional array type, and don't need maximum speed or the vast range of array-processing that numpy offers, then *pyarray* provides a pure-python single module solution. the

Re: How to add columns to python arrays

2006-05-17 Thread Michael Spencer
Terry Reedy wrote: Michael Spencer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If you're just looking for a multi-dimensional array type, and don't need maximum speed or the vast range of array-processing that numpy offers, then *pyarray* provides a pure-python single module