pandas dataframe Shape of passed values is (1, 4), indices imply (4, 4) : <p>I am trying to create a pandas dataframe with one row using and ended up testing the following simple line of code:</p>

<pre><code>df = pd.DataFrame([1,2,3,4], columns=['a', 'b', 'v', 'w'])
</code></pre>

<p>Although this seems very simple i get the following error</p>

<pre><code>Shape of passed values is (1, 4), indices imply (4, 4)
</code></pre>

<p>I have seen a few answers on this issues but all provide a way around it that doesn't explain why this happens and does not apply in my case.</p>

<p>Thanks is advance.</p>
