polars.internals.expr.meta.ExprMetaNameSpace.output_name#

ExprMetaNameSpace.output_name() str[source]#

Get the column name that this expression would produce.

It might not always be possible to determine the output name as it might depend on the schema of the context. In that case this will raise a pl.ComputeError.