title: How to create a DataFrame of random integers with Pandas?
body: <p>I know that if I use <a href="https://numpy.org/doc/stable/reference/random/generated/numpy.random.randn.html" rel="noreferrer"><code>randn</code></a>,</p>
  
  <pre><code>import pandas as pd
  import numpy as np
  df = pd.DataFrame(np.random.randn(100, 4), columns=list('ABCD'))
  </code></pre>
  
  <p>gives me what I am looking for, but with elements from a normal distribution. But what if I just wanted random integers?</p>
  
  <p><code>randint</code> works by providing a range, but not an array like <code>randn</code> does. So how do I do this with random integers between some range?</p>