dongjoon-hyun commented on code in PR #37294:
URL: https://github.com/apache/spark/pull/37294#discussion_r929927670


##########
python/pyspark/pandas/frame.py:
##########
@@ -6318,10 +6318,7 @@ def pivot_table(
                 )
                 psdf = DataFrame(internal)
         else:
-            if isinstance(values, list):
-                index_values = values[-1]
-            else:
-                index_values = values
+            index_values = values

Review Comment:
   Hi, @itholic . If we touch the main code, we cannot use `[TEST]` test in the 
PR title because this is not a test-only change.



-- 
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]

Reply via email to