viirya commented on a change in pull request #28210: [SPARK-31441] Support 
duplicated column names for toPandas with arrow execution.
URL: https://github.com/apache/spark/pull/28210#discussion_r407834992
 
 

 ##########
 File path: python/pyspark/sql/pandas/conversion.py
 ##########
 @@ -103,13 +103,17 @@ def toPandas(self):
                 try:
                     from pyspark.sql.pandas.types import 
_check_series_localize_timestamps
                     import pyarrow
-                    batches = self._collect_as_arrow()
+                    # Rename columns to void duplicated column names.
 
 Review comment:
   typo: void -> avoid

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to