Related Post: Spark Dataframe Add Column Based On Condition Pyspark Dataframe Add Column Based On Condition Spark Dataframe Add Column With Value