Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/22070#discussion_r209242281 --- Diff: examples/src/main/python/sql/arrow.py --- @@ -95,12 +95,12 @@ def grouped_map_pandas_udf_example(spark): ("id", "v")) @pandas_udf("id long, v double", PandasUDFType.GROUPED_MAP) - def substract_mean(pdf): + def subtract_mean(pdf): --- End diff -- And this method name change should be OK as it's just in an example
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org