How to generate random pairs of strings contained in a numpy array

前端 未结 0 1739
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-12 13:53

Suppose I have the following numpy array of strings:

a = numpy.array([\'apples\', \'foobar\', ‘bananas’, \'cowboy\'])

I would like to generat

相关标签:
回答
  • 消灭零回复
提交回复
热议问题