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.prefix(prefix)

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

Expr.name.suffix(suffix)

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

Expr.name.to_lowercase()

Make the root column name lowercase.

Expr.name.to_uppercase()

Make the root column name uppercase.

Expr.name.map_fields(function)

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

Expr.name.prefix_fields(prefix)

Add a prefix to all fields name of a struct.

Expr.name.suffix_fields(suffix)

Add a suffix to all fields name of a struct.