lale.lib.rasl.join module¶
- class lale.lib.rasl.join.Join(*args, _lale_trained=False, _lale_impl=None, **kwargs)¶
Bases:
TrainedIndividualOp
Relational algebra join operator.
This documentation is auto-generated from JSON schemas.
- Parameters
pred (Any, not for optimizer) – Join predicate. Given as Python AST expression.
join_limit (union type, not for optimizer, default None) –
Not yet implemented! For join paths that are one-to-many, join_limit is use to sample the joined results. When the right hand side of the join has a timestamp column, the join_limit is applied to select the most recent rows. When the right hand side does not have a timestamp, it randomly samples join_limit number of rows. Sampling is applied after each pair of tables are joined.
float
or None
sliding_window_length (union type, not for optimizer, default None) –
Not yet implemented! sliding_window_length is also used for sampling the joined results, only rows in a recent window of length sliding_window_length seconds is used in addition to join_limit.
float
or None
join_type (‘inner’, ‘left’, or ‘right’, not for optimizer, default ‘inner’) – There are various types of SQL joins available and join_type gives the user the option to choose which type of join the user wants to implement.
name (union type, not for optimizer, default None) –
The table name to be given to the output dataframe.
string
String (cannot be all spaces).
or None
No table name.
- transform(X, y=None)¶
Transform the data.
- Parameters
X (array, >=1 items of items : array of items : Any) – List of tables.
- Returns
result – Features; no restrictions on data type.
- Return type
Any