Comparison of np.random.choice vs np.random.shuffle for samples without replacement

前端 未结 0 650
星月不相逢
星月不相逢 2020-12-09 21:56

My use case also is a bit specific. I want to sample 2 items without replacement from a list/array (of 50, or 100 elements). So I don\'t have to worry about arrays of sizes

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