title: How can one duplicate columns N times in DataFrame?
body: <p><a href="https://i.stack.imgur.com/4HmiX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4HmiX.png" alt="
  " /></a>I have a dataframe with one column and I would like to get a Dataframe with N columns all of which will be identical to the first one. I can simply duplicate it by:</p>
  <pre><code>df[['new column name']] = df[['column name']]
  </code></pre>
  <p>but I have to make more than 1000 identical columns that's why it doesnt work
  . One important thing is figures in columns should change for instance if first columns is 0 the nth column is n and the previous is n-1</p>