polars.Expr.meta.output_name#

Expr.meta.output_name() str[source]#

Get the column name that this expression would produce.

It may not always be possible to determine the output name, as that can depend on the schema of the context; in that case this will raise ComputeError.