Sequence and other must be composed of (Key, Value) pairs. If self.sequence contains (K, V) pairs and other contains (K, W) pairs, the return result is a sequence of (K, (V, W)) pairs. W values will always bepresent, V values may be present or None. >>> seq([('a', 1
(self, other)
| 1212 | return self.join(other, "left") |
| 1213 | |
| 1214 | def right_join(self, other): |
| 1215 | """ |
| 1216 | Sequence and other must be composed of (Key, Value) pairs. If self.sequence contains (K, V) |
| 1217 | pairs and other contains (K, W) pairs, the return result is a sequence of (K, (V, W)) pairs. |
| 1218 | W values will always bepresent, V values may be present or None. |
| 1219 | |
| 1220 | >>> seq([('a', 1), ('b', 2)]).join([('a', 3), ('c', 4)]) |
| 1221 | [('a', (1, 3)), ('b', (2, None)] |
| 1222 | |
| 1223 | :param other: sequence to join with |
| 1224 | :return: right joined sequence of (K, (V, W)) pairs |
| 1225 | """ |
| 1226 | return self.join(other, "right") |
| 1227 | |
| 1228 | def outer_join(self, other): |
| 1229 | """ |