Thanks for that question. I had the same issue.
The (from my perspective) shortest and most elegant way is:
import numpy as np
start=0
step=1.25
num=9
result=np.arange(0,num)*step+start
print(result)
returns
[ 0. 1.25 2.5 3.75 5. 6.25 7.5 8.75 10. ]