twosigma / twosigma/beakerx

Getting pyspark working

Open
#7,543 8 comments 4 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
2.9k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

Hi there.
I couldn't find any documentation for initializing pyspark.

I've initialized the spark sessions with

```
%%classpath add mvn
org.apache.spark spark-sql_2.11 2.3.1
````
followed by
```
%%spark
```

Everything is all good.

Then when I go to link the spark session in python I don't have an entry point to the spark because spark has been initialized through the jar files and not through python.

Is there a tutorial or documentation which outlines how to use spark in python or through pyspark?

Cheers.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.