alias in pyspark code example Example: pyspark alias from pyspark.sql.functions import col data = data.select(col("Name").alias("name"))