[Pyspark] from pyspark.sql import * VS from pyspark.sql.functions import *
딥상어동의 딥한 프로그래밍/Spark2022. 4. 7. 23:10[Pyspark] from pyspark.sql import * VS from pyspark.sql.functions import *

오늘은 pyspark.sql 내 메서드들에 대해 알아보려 한다. 0. import pyspark.sql https://spark.apache.org/docs/2.4.0/api/python/pyspark.sql.html#module-pyspark.sql.functions pyspark.sql module — PySpark 2.4.0 documentation Parameters: path – string, or list of strings, for input path(s), or RDD of Strings storing CSV rows. schema – an optional pyspark.sql.types.StructType for the input schema or a DDL-formatted string..

image