title: Copying dataframe data effectively
body: <p>I have a dataframe:</p>
  
  <pre><code>dataframe = pd.DataFrame()
  dataframe['column'] = [10,20,30,40]
  </code></pre>
  
  <p>I want to effectively duplicate each element 3 times so it becomes the equivalent of:</p>
  
  <pre><code>dataframe['column'] = [10,10,10,20,20,20,30,30,30,40,40,40]
  </code></pre>
  
  <p>I need a solution that will work for a df of any size.I also need the index to stay 1,2,3,4 etc..</p>