title: replicate the seq function in R to python
body: <p>I am trying replicate R's seq function in Python</p>
  <p>For example in R:</p>
  <pre><code>sequence = seq(from = 1, to = 3, by = 1)
  output = 1 2 3
  </code></pre>
  <p>And in Python I find the linspace commmand:</p>
  <pre><code>np.linspace(start=1, stop=3, num=1)
  output = array([1.])
  </code></pre>
  <p>But it specifies the number of elements rather than the step size.</p>
  <p>I was looking for something like R's output.</p>