Binary random array with a specific proportion of ones? Binary random array with a specific proportion of ones? python python