cloud-fan commented on code in PR #37407:
URL: https://github.com/apache/spark/pull/37407#discussion_r972808194
##########
python/pyspark/sql/dataframe.py:
##########
@@ -3091,12 +3098,12 @@ def unpivot(
Parameters
----------
- ids : str, Column, tuple, list, optional
+ ids : str, Column, tuple, list
Column(s) to use as identifiers. Can be a single column or column
name,
or a list or tuple for multiple columns.
values : str, Column, tuple, list, optional
Column(s) to unpivot. Can be a single column or column name, or a
list or tuple
- for multiple columns. If not specified or empty, uses all columns
that
+ for multiple columns. Must not be empty. If None, uses all columns
that
Review Comment:
```suggestion
for multiple columns. If specified, must not be empty. If not
specified, uses all columns that
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]