Permuting data

Bjorn Pettersen BPettersen at NAREX.com
Wed Nov 20 15:43:55 EST 2002


> From: user at domain.invalid [mailto:user at domain.invalid] 
> 
> Hi,
> I have encountered a following problem: I need to permute 
> randomly 200 
> lines of data  100 times... Meaning that each iteration, data 
> lines are 
> in the random order. What would be the proper way to do it?

Module: random, Function: shuffle.

-- bjorn




More information about the Python-list mailing list