title: Can't concatenate pandas dataframes with the same length?
body: <p>This is weird. From the documentation I all ready read how to do <a href="http://pandas.pydata.org/pandas-docs/stable/merging.html#set-logic-on-the-other-axes" rel="nofollow noreferrer">concat</a> and merge operations with pandas. Also I all ready know that concatenating to the right side can be done as follows:</p>
  
  <pre><code>df = pd.concat([df1, df2], axis=1)
  </code></pre>
  
  <p><strong>The issue is that I generated the following dataframes:</strong></p>
  
  <p>In:</p>
  
  <pre><code>links = pd.DataFrame(links, columns=['link'])
  </code></pre>
  
  <p>So, I just want to concatenate the <code>link</code> dataframe column to <code>intersection</code> dataframe (note that <code>link</code> and <code>intersection</code> have 78 instances of length). Thus:</p>
  
  <p>In:</p>
  
  <pre><code>full_table = pd.concat([lis_, lis_2], axis=1)
  </code></pre>
  
  <p>The problem is that as you can see in the above dataframe, it added some <code>NaN</code> values. Therefore, which is the correct way of concatenating <code>links</code> and <code>intersection</code> dataframes?. </p>