IPython Documentation

Table Of Contents

Previous topic

Module: parallel.client.magics

Next topic

Module: parallel.client.remotefunction

This Page

Module: parallel.client.map

Classes used in scattering and gathering sequences.

Scattering consists of partitioning a sequence and sending the various pieces to individual nodes in a cluster.

Authors:

  • Brian Granger
  • MinRK

2 Classes

class IPython.parallel.client.map.Map

A class for partitioning a sequence using a map.

getPartition(seq, p, q)

Returns the pth partition of q partitions of seq.

class IPython.parallel.client.map.RoundRobinMap

Bases: IPython.parallel.client.map.Map

Partitions a sequence in a roun robin fashion.

This currently does not work!

1 Function

IPython.parallel.client.map.mappable(obj)

return whether an object is mappable or not.