4 ms·
> this is made worse by the fact that itertools lacks a sliding window function We have `itertools.pairwise()` for making a sliding window of pairs, but yes, t
by selcuka 3y ago
> this is made worse by the fact that itertools lacks a sliding window function
We have `itertools.pairwise()` for making a sliding window of pairs, but yes, there is no function that accepts an arbitrary number of elements.