a pandas version of the randomizer