code: def rotN(l, N):
      """
      Rotate a list of elements.
  
      Pulls N elements off the end of the list and appends them to the front.
  
      >>> rotN(['a', 'b', 'c', 'd'], 2)
      ['c', 'd', 'a', 'b']
      >>> rotN(['a', 'b', 'c', 'd'], 3)
      ['d', 'a', 'b', 'c']
      """
      assert len(l) >= N, "Can't rotate list by longer than its length."
      return l[N:] + l[:N]
  
imports: from itertools import product
  from operator import eq, ne
  import warnings
  import numpy
  from toolz import take
  from zipline.lib.labelarray import LabelArray
  from zipline.testing import check_arrays, parameter_space, ZiplineTestCase
  from zipline.testing.predicates import assert_equal
  from zipline.utils.compat import unicode
label_desc: Use image node_id 1 for calling a global function with example usage: rotN(l, N) and returns: unknown