![[Pyspark] from pyspark.sql import * VS from pyspark.sql.functions import *](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2Fbu0YXE%2FbtryE2ZuPLs%2FAAAAAAAAAAAAAAAAAAAAABvkIvNkB56cWpKlDRlvVkuXoWvbuSXOUPAWcROIvLUl%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DFAYNskPga9UtxKNHdlqj7QgdCgU%253D)
딥상어동의 딥한 프로그래밍/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..