> Chunked and windowed iteration, in iterutils
I need this. Makes so many functional expressions so simple.
I need this. Makes so many functional expressions so simple.
And if the table your selecting from is big enough I would expect that this setup would be faster but it’s hard to say. It would also more easily guarantee that your results will be consistent.
2. np.diff, takes differences between consecutive pairs. Sometimes you have a different kind of "difference" operation, though. The pairwise iteration helps you express that.