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. V values will always be present, W values may be present or None. >>> seq([('a',
(self, other)
| 1198 | return self._transform(transformations.join_t(other, join_type)) |
| 1199 | |
| 1200 | def left_join(self, other): |
| 1201 | """ |
| 1202 | Sequence and other must be composed of (Key, Value) pairs. If self.sequence contains (K, V) |
| 1203 | pairs and other contains (K, W) pairs, the return result is a sequence of (K, (V, W)) pairs. |
| 1204 | V values will always be present, W values may be present or None. |
| 1205 | |
| 1206 | >>> seq([('a', 1), ('b', 2)]).join([('a', 3), ('c', 4)]) |
| 1207 | [('a', (1, 3)), ('b', (2, None)] |
| 1208 | |
| 1209 | :param other: sequence to join with |
| 1210 | :return: left joined sequence of (K, (V, W)) pairs |
| 1211 | """ |
| 1212 | return self.join(other, "left") |
| 1213 | |
| 1214 | def right_join(self, other): |
| 1215 | """ |