Regression Analysis from pyspark.sql import SparkSession spark = SparkSession.builder.appName("lr_ex").getOrCreate() from pyspark.ml.regression import LinearRegression data = spark.read.csv("../Ecommerce_Customer.csv", inferSchema=True, header=True) data.select("Avg Session Length", "Time on App").show() 직관적으로 한 행을 출력해보자. for col, item in zip(data.columns, data.head(1)[0]): print(col, ":", item)..