There is apparently a pb with this library on Zeppelin :
The code :
import pyspark
from pyspark.sql import functions as sf
returns
console error: '.' expected but ';' found. from pyspark.sql import functions as sf
There is apparently a pb with this library on Zeppelin :
The code :
import pyspark
from pyspark.sql import functions as sf
returns
console error: '.' expected but ';' found. from pyspark.sql import functions as sf
In order to use PySpark in Zeppelin, you need to explicitly mention the interpreter in the block (otherwise by default it’s Scala):
%pyspark
import pyspark
from pyspark.sql import functions as sf
Following explains all the available interpreters: