Pandas UDF and Python Type Hint in Apache Spark 3

Transforms an iterator of Pandas DataFrame to an iterator of Pandas DataFrame in a Spark DataFrame Cogrouped Map Pandas UDF Splits each cogroup as a Pandas DataFrame, applies a function on each, and combines as a Spark DataFrame The function takes and returns a Pandas DataFrame ................
................