Github user BryanCutler commented on a diff in the pull request:
https://github.com/apache/spark/pull/21471#discussion_r192211781
--- Diff: python/pyspark/sql/functions.py ---
@@ -2548,6 +2549,10 @@ def pandas_udf(f=None, returnType=None,
functionType=None):
| 2|6.0|
+---+---+
+ .. note:: If returning a new `pandas.DataFrame` constructed with a
dictionary, it is
--- End diff --
I don't know if there is warning, but the notes show up highlighted so it's
pretty clear
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]