I'd add something like this:

    >>> rdd = sc.parallelize([1,2,3,4,5,6,7], 4)
    >>> rdd.glom().collect()
    [[1], [2, 3], [4, 5], [6, 7]]
    >>> rdd.repartition(2).glom().collect()
    [[1, 3, 5, 6], [2, 4, 7]]
    >>> rdd.repartition(10).glom().collect()
    [[6], [], [], [], [4], [], [3, 5], [1], [], [2, 7]]