sinaiamonkar-sai commented on code in PR #46391:
URL: https://github.com/apache/spark/pull/46391#discussion_r1592517040


##########
python/pyspark/pandas/groupby.py:
##########
@@ -308,6 +308,7 @@ def aggregate(
             )
 
         if not self._as_index:
+            index_cols = list(psdf.columns)

Review Comment:
   Hello, @itholic. Thank you for the inputs!
   I have updated the code but used psdf._internal.column_labels instead as it 
gave the desired list of tuples. I hope that is fine. Kindly, check.



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