title: Initialize dataframe with a constant
body: <p>Initializing dataframe with a constant value does not work, </p>
  
  <pre><code>pd.DataFrame(0, index=[1,2,3])      # doesnt work!
      # OR
  pd.DataFrame(0)                     # doesnt work!
  </code></pre>
  
  <p>whereas I observe that</p>
  
  <blockquote>
    <p>(1) Initializing Series with a constant value works</p>
  </blockquote>
  
  <pre><code>pd.Series(0, index=[1,2,3])         # Works fine!
  </code></pre>
  
  <blockquote>
    <p>(2) Initializing DataFrame with None works</p>
  </blockquote>
  
  <pre><code>pd.DataFrame(None, index=[1,2,3])   # Works fine!
  </code></pre>
  
  <blockquote>
    <p>(3) Initializing DataFrame when index and columns are not provided works</p>
  </blockquote>
  
  <pre><code>pd.DataFrame([1, 2, 3])             # Works fine!
  pd.DataFrame([0])                   # Works fine!
  </code></pre>
  
  <p>Does anyone know why?</p>
  
  <p>I am keen to know more from a design consideration, rather than an answer like "if you check the pandas code, you'd see that it fails one of the checks where the data dimension is expected to be >1.. blah blah". </p>
  
  <p>I think it should just work intuitively (considering that pandas is intelligent in assigning a default col and index when not provided, and also guesses the dimensions from the data given). </p>
  
  <p>May be there is some reason for this behaviour but can't figure.</p>