Meta#

The following methods are available under the expr.meta attribute.

Expr.meta.eq(other)

Indicate if this expression is the same as another expression.

Expr.meta.has_multiple_outputs()

Indicate if this expression expands into multiple expressions.

Expr.meta.is_regex_projection()

Indicate if this expression expands to columns that match a regex pattern.

Expr.meta.ne(other)

Indicate if this expression is NOT the same as another expression.

Expr.meta.output_name(*[, raise_if_undetermined])

Get the column name that this expression would produce.

Expr.meta.pop()

Pop the latest expression and return the input(s) of the popped expression.

Expr.meta.tree_format(*[, return_as_string])

Format the expression as a tree.

Expr.meta.root_names()

Get a list with the root column name.

Expr.meta.serialize([file])

Serialize this expression to a file or string in JSON format.

Expr.meta.undo_aliases()

Undo any renaming operation like alias or name.keep.

Expr.meta.write_json([file])

Write expression to json.