Name#

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

Expr.name.keep()

Keep the original root name of the expression.

Expr.name.map(function)

Rename the output of an expression by mapping a function over the root name.

Expr.name.map_fields(function)

Rename fields of a struct by mapping a function over the field name(s).

Expr.name.prefix(prefix)

Add a prefix to the root column name of the expression.

Expr.name.prefix_fields(prefix)

Add a prefix to all field names of a struct.

Expr.name.suffix(suffix)

Add a suffix to the root column name of the expression.

Expr.name.suffix_fields(suffix)

Add a suffix to all field names of a struct.

Expr.name.to_lowercase()

Make the root column name lowercase.

Expr.name.to_uppercase()

Make the root column name uppercase.