반응형
다음 명령어를 복붙하면된다!
!pip install pyspark
from pyspark import SparkContext, SparkConf
from pyspark.sql import SparkSession
sc = SparkContext.getOrCreate(SparkConf().setMaster("local[*]"))
spark = SparkSession.builder.getOrCreate()
실행시키면 다음과같은 출력이나오고. 정상적으로 spark 명령어가 듣는걸 볼수가있다
반응형
'Data > Data Science' 카테고리의 다른 글
[Pytorch] Basic Neural Network (0) | 2020.11.23 |
---|---|
Normalization, Regularization, Standardization (0) | 2020.11.14 |
[deeplearning.ai] Sequence Models (0) | 2020.10.30 |
[deeplearning.ai] Convolution Neural Network (0) | 2020.09.18 |
[deeplearning.ai] Structuring Machine Learning Projects (0) | 2020.09.06 |