-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
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])Reactions are currently unavailable