Wrapping around a list
rosuav at gmail.com
Wed Nov 27 11:53:54 CET 2013
On Wed, Nov 27, 2013 at 9:46 PM, <amjadcsu at gmail.com> wrote:
> So the question i am asking , how can i add wrapping around sublist in my sliding window function.
By the look of what you now have, the easiest way would probably be to
duplicate the list before you slide. So instead of working on "LEQN",
you work on "LEQNLEQN" - or possibly "LEQNLEQ", or other shortened
versions, if it's easier than pulling out the duplicates.
More information about the Python-list