code: def partition_map(xs: Map, n):
      return [Map(xs.fn, part) for part in partition(xs.xs, n)]
  
imports: from toolz.functoolz import curry
  from ._partition import partition
label_desc: Use image node_id 1 for calling a global function with example usage: partition_map(xs, n) and returns: unknown