title: Generate sample data according to a suposed proportion
body: <p>I am working on a project where products in production have a defect, but in very rare cases. For example 1/1,000,000 products have a defect.</p>
  <p>How could I generate data, in R, Python, or Excel, that would represent samples from this distribution ?</p>