title: Scipy poisson distribution with an upper limit
body: <p>I am generating a random number using scipy stats.
  I used the Poisson distribution. 
  Below is an example:</p>
  
  <pre><code>import scipy.stats as sct
  
  A =2.5
  Pos = sct.poisson.rvs(A,size = 20)
  </code></pre>
  
  <p>When I print Pos, I got the following numbers:</p>
  
  <pre><code>array([1, 3, 2, 3, 1, 2, 1, 2, 2, 3, 6, 0, 0, 4, 0, 1, 1, 3, 1, 5])
  </code></pre>
  
  <p>You can see from the array that some of the number,such as 6, is generated.</p>
  
  <p>What I want to do it to limit the biggest number(let's say 5), i.e. any random number generated using sct.poisson.rvs should be equal or less than 5,</p>
  
  <p>How can I tweak my code to achieve it.
  By the way, I am using this in Pandas Dataframe.</p>