File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sql/core/src/main/scala/org/apache/spark/sql Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import org.apache.spark.sql.execution.stat._
2828final class DataFrameStatFunctions private [sql](df : DataFrame ) {
2929
3030 /**
31- * Calculate the correlation of two columns of a DataFrame. Currently only supports the Pearson
31+ * Calculates the correlation of two columns of a DataFrame. Currently only supports the Pearson
3232 * Correlation Coefficient. For Spearman Correlation, consider using RDD methods found in
3333 * MLlib's Statistics.
3434 *
@@ -43,7 +43,7 @@ final class DataFrameStatFunctions private[sql](df: DataFrame) {
4343 }
4444
4545 /**
46- * Java Friendly implementation to calculate the Pearson correlation coefficient of two columns.
46+ * Calculates the Pearson Correlation Coefficient of two columns of a DataFrame .
4747 *
4848 * @param col1 the name of the column
4949 * @param col2 the name of the column to calculate the correlation against
You can’t perform that action at this time.
0 commit comments