diff options
author | Xiangrui Meng <meng@databricks.com> | 2015-07-23 10:32:11 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-07-23 10:32:11 -0700 |
commit | ecfb3127670c7f15e3a15e7f51fa578532480cda (patch) | |
tree | 280262908f8cc6f32da9b998986d028dfcd35c2a /python/pyspark/sql | |
parent | d2666a3c70dad037776dc4015fa561356381357b (diff) | |
download | spark-ecfb3127670c7f15e3a15e7f51fa578532480cda.tar.gz spark-ecfb3127670c7f15e3a15e7f51fa578532480cda.tar.bz2 spark-ecfb3127670c7f15e3a15e7f51fa578532480cda.zip |
[SPARK-9243] [Documentation] null -> zero in crosstab doc
We forgot to update doc. brkyvz
Author: Xiangrui Meng <meng@databricks.com>
Closes #7608 from mengxr/SPARK-9243 and squashes the following commits:
0ea3236 [Xiangrui Meng] null -> zero in crosstab doc
Diffstat (limited to 'python/pyspark/sql')
-rw-r--r-- | python/pyspark/sql/dataframe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/sql/dataframe.py b/python/pyspark/sql/dataframe.py index 83e02b85f0..d76e051bd7 100644 --- a/python/pyspark/sql/dataframe.py +++ b/python/pyspark/sql/dataframe.py @@ -1130,7 +1130,7 @@ class DataFrame(object): non-zero pair frequencies will be returned. The first column of each row will be the distinct values of `col1` and the column names will be the distinct values of `col2`. The name of the first column will be `$col1_$col2`. - Pairs that have no occurrences will have `null` as their counts. + Pairs that have no occurrences will have zero as their counts. :func:`DataFrame.crosstab` and :func:`DataFrameStatFunctions.crosstab` are aliases. :param col1: The name of the first column. Distinct items will make the first item of |