title: repeat sampling n times
body: <p>Suppose I have some data about balls of different colors. I randomly sampled 50 balls of the data and I got the proportion of each color. But I want to repeat this sampling 1000 times and get a histogram of the proportion.
  I did the sampling but I don't know how to repeat it and get a total proportion(?)</p>
  <p>My code for sampling is:</p>
  <pre><code>data_sample1=data.sample(n=50,random_state=1)
  count1=data_sample1['Color'].value_counts(normalize=True)
  print(count1)
  data_sample1['Color'].hist()
  </code></pre>
  <p>How can I repeat this 1000 times, please?</p>