title: How to insert a dataframe 20x1 into a dataframe 1x8
body: <p>I have been trying to accomplish the following problem. There are dataframe 20x1 and another one 1x7. But after i tried to join both, i get a error returning NaN values.</p>
  <ol>
  <li>mean_control_chart it's the dataframe 1x7</li>
  <li>x_barra was a series, but a convert to a dict and after to a
  dataframe 20x1</li>
  </ol>
  <ol>
  <li>mean_control_chart dataframe:</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/gUILA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gUILA.png" alt="enter image description here" /></a></p>
  <ol start="2">
  <li>x_barra dataframe:</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/khMBj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/khMBj.png" alt="enter image description here" /></a></p>
  <p>Code:</p>
  <pre><code>mean_control_chart = pd.DataFrame(df_mean_control_chart)
  x_barra_dict = x_barra.to_dict()
  x_barra_df = pd.DataFrame(x_barra_dict, index=['X-Barra']) 
  x_barra_df = x_barra_df.transpose() 
  mean_control_chart['X_Barra'] = x_barra_df
  </code></pre>
  <p>The error i get:
  <a href="https://i.stack.imgur.com/7yhLi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7yhLi.png" alt="" /></a></p>
  <p><strong>OBS</strong>: I want after that, the data at the 7 columns of mean_control_chart repet itself based of the x_barra len of rows. So if there are 20 or 100 lines in x_barra, the lines of mean_control_chart would repeat 20 or 100</p>