Hello,

I have an array of shape (n, 2) from which I want to extract a random sample 
of 20% of rows. The choosen samples should be removed the original array and 
moved to a new array of the same shape (n, 2).

What is the most clever way to do with numpy?

Thanks,
Florian
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to