Another option to get similar output is to use the line3d function.
line3d([(i*math.sin(i), i*math.cos(i), i/3) for i in range(30)], arrow_head=True)