--

GraphX is present in Spark ttps://spark.apache.org/graphx/

Pyspark needs a workaround and has API been delayed since long.

You should look at GraphFrames (https://github.com/graphframes/graphframes), which wraps GraphX algorithms under the DataFrames API and it provides Python interface.

Here is a quick example from https://graphframes.github.io/graphframes/docs/_site/quick-start.html

You can configure spark and graphframes and check this -

https://github.com/pratikbarjatya/Spark-GraphX/blob/main/Spark%20ML%20-%20Graphx.ipynb

--

--

Pratik Barjatiya
Pratik Barjatiya

Written by Pratik Barjatiya

Data Engineer | Big Data Analytics | Data Science Practitioner | MLE | Disciplined Investor | Fitness & Traveller

No responses yet