ibis.expr.api.TableExpr.cross_join

TableExpr.cross_join(*args, **kwargs)

Perform a cross join (cartesian product) amongst a list of tables, with optional set of prefixes to apply to overlapping column names

Parameters:

positional args: tables to join

prefixes keyword : prefixes for each table

Not yet implemented

Returns:

joined : TableExpr

If prefixes not provided, the result schema is not yet materialized

Examples

>>> joined1 = ibis.cross_join(a, b, c, d, e)
>>> joined2 = ibis.cross_join(a, b, c, prefixes=['a_', 'b_', 'c_']))