This is regarding the book Graph Algorithms Ch. 8, Using Graph Algos to Enhance ML
I've downloaded spark and has been able to initiate the pyspark instance by running ./bin/pyspark,
in the terminal.
i am supposed to run the following command within the pyspark REPL:
however, i cannot proceed from here. once i run the code above, i get a 'SyntaxError: invalid syntax' message. Has anyone successfully run that the piece of code?
Can you please assist with this?