title: Duplicating a Pandas DF N times
body: <p>So right now, if I multiple a list i.e. <code>x = [1,2,3]* 2 I get x as [1,2,3,1,2,3]</code> But this doesn't work with Pandas.</p>
  <p>So if I want to duplicate a PANDAS DF I have to make a column a list and multiple:</p>
  <pre><code>col_x_duplicates =  list(df['col_x'])*N
  
  new_df = DataFrame(col_x_duplicates, columns=['col_x'])
  </code></pre>
  <p>Then do a join on the original data:</p>
  <pre><code>pd.merge(new_df, df, on='col_x', how='left')
  </code></pre>
  <p>This now duplicates the pandas DF N times, Is there an easier way? Or even a quicker way?</p>