Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Returns a DataFrameStatFunctions for statistic functions.
Returns
DataFrameStatFunctions
Examples
import pyspark.sql.functions as f
df = spark.range(3).withColumn("c", f.expr("id + 1"))
type(df.stat)
# <class '...dataframe.DataFrameStatFunctions'>
df.stat.corr("id", "c")
# 1.0