Watch this video on YouTube
What is the key difference between DataFrame.pandas_on_spark.transform_batch() and DataFrame.pandas_on_spark.apply_batch()?