We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ef91e2 commit ae60a28Copy full SHA for ae60a28
tsdownsample/downsamplers.py
@@ -63,4 +63,4 @@ def _downsample(
63
"into account by the current implementation of the EveryNth algorithm."
64
)
65
step = max(1, len(y) / n_out)
66
- return np.arange(start=0, stop=len(y), step=step).astype(np.uint)
+ return np.arange(start=0, stop=len(y) - 0.1, step=step).astype(np.uint)
0 commit comments