title: Creating a pandas data frame of a specific size
body: <p>In R, I can do something like this:</p>
  
  <pre><code>myvec &lt;- seq(from =  5, to = 10)^2
  mydf &lt;- data.frame(matrix(data = myvec, ncol = 3,byrow = TRUE))
  &gt; mydf
    X1 X2  X3
  1 25 36  49
  2 64 81 100
  </code></pre>
  
  <p>Notice I can specfiy the shape of the data frame by passing in an ncol parameter. I can then fill it either byrow or bycolumn (in this case by row).</p>
  
  <p>If I were to replicate this in Python/Pandas, it's easy enough to create the sequence:</p>
  
  <pre><code>myData = [x**2 for x in range(5,11) ]
  </code></pre>
  
  <p>However, how do easily make a dataframe of the same size?
  I can do something like:</p>
  
  <pre><code>myDF = pd.DataFrame(data = myData)
  </code></pre>
  
  <p>But what would be the parameters to specify the column/row dimensions?</p>