zhengruifeng commented on code in PR #38579:
URL: https://github.com/apache/spark/pull/38579#discussion_r1018743612
##########
python/pyspark/sql/dataframe.py:
##########
@@ -4217,15 +4217,18 @@ def cov(self, col1: str, col2: str) -> float:
def crosstab(self, col1: str, col2: str) -> "DataFrame":
"""
Computes a pair-wise frequency table of the given columns. Also known
as a contingency
- table. The number of distinct values for each column should be less
than 1e4. At most 1e6
- non-zero pair frequencies will be returned.
Review Comment:
got it
--
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]