In the context of Pandas UDFs, explain the concept of data serialization and its impact on performance when working with distributed datasets in Spark. Provide an example of how you would optimize data serialization in a Pandas UDF. | Databricks Certified Machine Learning - Associate Quiz - LeetQuiz