Answers for "how can i connect my jupyter notebook to Spark"

0

how can i connect my jupyter notebook to Spark

import findspark findspark.init(“/Users/user1/Downloads/spark2/”)import pyspark from pyspark.sql import DataFrameNaFunctions from pyspark.sql.functions import lit from pyspark.ml.feature import StringIndexer #label encoding from pyspark.ml import Pipeline sc = pyspark.SparkContext(appName=”helloworld”)
Posted by: Guest on September-13-2021

Code answers related to "how can i connect my jupyter notebook to Spark"

Browse Popular Code Answers by Language