Skip to content

Commit 4fe693b

Browse files
committed
addressed comments v0.1
1 parent a682d06 commit 4fe693b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/core/src/main/scala/org/apache/spark/sql/DataFrameStatFunctions.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import org.apache.spark.sql.execution.stat._
2828
final 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

0 commit comments

Comments
 (0)