This quick-start guide shows how to get started using GraphFrames.
After you work through this guide, move on to the User Guide
to learn more about the many queries and algorithms supported by GraphFrames.
The following example shows how to run the Spark shell with the GraphFrames package.
We use the --packages argument to download the graphframes package and any dependencies automatically.
The above examples of running the Spark shell with GraphFrames use a specific version of the GraphFrames
package. To use a different version, just change the last part of the --packages argument;
for example, to run with version 0.1.0-spark1.6, pass the argument
Start using GraphFrames
The following example shows how to create a GraphFrame, query it, and run the PageRank algorithm.