With NumPy, one can use np.linspace's endpoint like below. Currently da.linspace does support the first syntax, but doesn't support the second. Would be good for it to support both options.
In [1]: np.linspace(0, 1, 4)
Out[1]: array([0. , 0.33333333, 0.66666667, 1. ])
In [2]: np.linspace(0, 1, 3, endpoint=False)
Out[2]: array([0. , 0.33333333, 0.66666667])
With NumPy, one can use
np.linspace'sendpointlike below. Currentlyda.linspacedoes support the first syntax, but doesn't support the second. Would be good for it to support both options.