The column functions of pyspark.sql.functions (col, when, lit, sum, to_date, concat, etc.) build expressions applied to a DataFrame's columns. They are executed natively by the Spark engine, so they are far more efficient than user-defined Python functions.
Example
df.withColumn('ttc', F.col('ht') * 1.2)