Can't you just use ``from random import choice``? That is also with replacement, and would avoid adding a numpy dependency.