![How to Turn Python Functions into PySpark Functions (UDF) – Chang Hsin Lee – Committing my thoughts to words. How to Turn Python Functions into PySpark Functions (UDF) – Chang Hsin Lee – Committing my thoughts to words.](https://changhsinlee.com/figure/source/2018-01-29-pyspark-udf/pyspark-distributed-function.png)
How to Turn Python Functions into PySpark Functions (UDF) – Chang Hsin Lee – Committing my thoughts to words.
![4. Spark SQL and DataFrames: Introduction to Built-in Data Sources - Learning Spark, 2nd Edition [Book] 4. Spark SQL and DataFrames: Introduction to Built-in Data Sources - Learning Spark, 2nd Edition [Book]](https://www.oreilly.com/api/v2/epubs/9781492050032/files/assets/lesp_0401.png)
4. Spark SQL and DataFrames: Introduction to Built-in Data Sources - Learning Spark, 2nd Edition [Book]
![Don't use union in Spark when merging DataFrames — The story of null values when using union | by Daniel Schruhl | Medium Don't use union in Spark when merging DataFrames — The story of null values when using union | by Daniel Schruhl | Medium](https://miro.medium.com/v2/resize:fit:2000/1*A7edsH9MHqnVDHszPsj0YA.png)
Don't use union in Spark when merging DataFrames — The story of null values when using union | by Daniel Schruhl | Medium
![apache spark sql - raise converted from None pyspark.sql.utils.ParseException: mismatched input 'State' expecting {<EOF>, ';'}(line 1, pos 46) - Stack Overflow apache spark sql - raise converted from None pyspark.sql.utils.ParseException: mismatched input 'State' expecting {<EOF>, ';'}(line 1, pos 46) - Stack Overflow](https://i.stack.imgur.com/pPSmL.png)