)
row = zeros(componentcount) #current row
rowcount = 5
for i in range(1,rowcount):
row[:] = 1
currSum = currSum + row;
On 11/30/06, Robert Kern <[EMAIL PROTECTED]> wrote:
Fang Fang wrote:
> Hi,
>
> I am writing code to sort the columns according to the sum of each
> colu
Hi,
I am writing code to sort the columns according to the sum of each column.
The dataset is huge (50k rows x 300k cols), so i have to read line by line
and do the summation to avoid the out-of-memory problem. But I don't know
why it runs very slow, and part of the code is as follows. Can anyone