title: How to create an array of evenly spaced float values
body: <p>I'm trying to create an array of evenly spaced float values with a step of 1e-05.</p>
  <p>I tried this;</p>
  <pre><code>df[&quot;new_col&quot;] = (0, len(df.index), dt)
  </code></pre>
  <p>Where <code>dt</code> is the time step and <code>df</code> is the original DataFrame</p>
  <p>I understand this won't work as it needs integers, however is there another clean way to do this that avoids using loops etc?</p>
  <p>Thanks</p>