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