alias

StringColumn.alias(alias)

Adds an alias to the column. This is useful for joins.

Args:

alias (str): The name of the column as it should appear in the new DataFrame.