HyukjinKwon commented on a change in pull request #32431:
URL: https://github.com/apache/spark/pull/32431#discussion_r625680973
##########
File path: python/pyspark/sql/dataframe.py
##########
@@ -2423,6 +2423,43 @@ def freqItems(self, cols, support=None):
support = 0.01
return DataFrame(self._jdf.stat().freqItems(_to_seq(self._sc, cols),
support), self.sql_ctx)
+ def with_columns(self, col_names, cols):
Review comment:
Let's keep it consistent with Scala side for now. Note that camelCase
doesn't violate PEP8 (e.g., `threading` in Python)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]