title: Pandas dataframe concat function creates two rows
body: <p>When using the concat function on two panda dataframes, which each consists out of only one row, I end up with two rows.
  These are the two dataframes I want to concat:</p>
  <pre><code>OptieA_Q14 = pd.DataFrame(['vliegtuig', 90, 120, np.nan, np.nan, np.nan, 'omruiling', 'wifi na betaling']).transpose()
  
  gegevens = pd.DataFrame(totaal.iloc[5,0:12]).transpose()
  </code></pre>
  <p>Where the second one is a part of a much bigger dataframe.</p>
  <p>When using this line of code to concat the two:</p>
  <pre><code>  volledige_rij = pd.concat([gegevens, OptieA_Q27], axis=1)
  </code></pre>
  <p>The resulting dataframe consists out of two rows as you can see in the image.</p>
  <p><a href="https://i.stack.imgur.com/hknIi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hknIi.png" alt="enter image description here" /></a></p>
  <p>I want this however to be a dataframe consisting out of 1 row and not filled up with NaN.</p>