Same as Spark SQL - Data Type
from pyspark.sql.functions import col , column
dataFrame = dataFrame.withColumn("price", col("price").cast("double"))
dataFrame = dataFrame.withColumn("time_at", col("time_at").cast("timestamp"))
Supported types are: