pandas UDF
A pandas UDF (and applyInPandas) is a vectorized user-defined function that applies pandas logic across Spark partitions for scalable feature engineering or inference. The ML Associate exam uses it to distribute single-node model logic across a cluster.