On Wed, Nov 27, 2013 at 9:46 PM, <amjad...@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. ChrisA -- https://mail.python.org/mailman/listinfo/python-list