title: How to change the column names when merging in pandas
body: <p>I have three lists as follows.</p>
  
  <pre><code>dummy_data1 = {
          'id': ['no1', 'no2', 'no3', 'no4', 'no5'],
          'Feature1': ['A', 'C', 'E', 'G', 'I'],
          'Feature2': ['B', 'D', 'F', 'H', 'J']}
  
  dummy_data2 = {
          'id': ['no5', 'no3', 'no1', 'no8', 'no12'],
          'Feature1': ['K', 'M', 'O', 'Q', 'S'],
          'Feature2': ['L', 'N', 'P', 'R', 'T']}
  
  dummy_data3 = {
          'id': ['no1', 'no2', 'no3', 'no4', 'no5', 'no7', 'no8', 'no9', 'no10', 'no11'],
          'Feature1': [12, 13, 14, 15, 16, 17, 15, 12, 13, 23],
          'Feature2': [12, 13, 14, 15, 16, 17, 15, 12, 13, 23]}
  </code></pre>
  
  <p>I want to merge these three lists to one pandas dataframe while renaming the columns. So, my output should look like as follows (Note: when merging the columns that have values to all the rows are only merged).</p>
  
  <pre><code>id, df1_Feature1, df1_Feature2, df2_Feature1, df2_Feature2, df3_Feature1, df3_Feature2
  no1, A, B, O, P, 12, 12
  no3, E, F, M, N, 14, 14
  no5, I, J, K, L, 16, 16
  </code></pre>
  
  <p>I tried to do it as follows.</p>
  
  <pre><code>df1 = pd.DataFrame(dummy_data1, columns = ['id', 'Feature1', 'Feature2'])
  df2 = pd.DataFrame(dummy_data2, columns = ['id', 'Feature1', 'Feature2'])
  df3 = pd.DataFrame(dummy_data3, columns = ['id', 'Feature1', 'Feature2'])
  merged = pd.merge(df1, df2)
  merged = pd.merge(df3, merged)
  </code></pre>
  
  <p>However, I prefer to do the <code>merge</code> in one line. Moreover, I did not find a way to do the remaing of the columns yet. Is there a easy way of doing this in pandas?</p>
  
  <p>I am happy to provide more details if needed.</p>