Chapter 7. GraphFrames

Graphs are an interesting way to solve data problems because graph structures are a more intuitive approach to many classes of data problems.

In this chapter, you will learn about:

  • Why use graphs?
  • Understanding the classic graph problem: the flights dataset
  • Understanding the graph vertices and edges
  • Simple queries
  • Using motif finding
  • Using breadth first search
  • Using PageRank
  • Visualizing flights using D3

Whether traversing social networks or restaurant recommendations, it is easier to understand these data problems within the context of graph structures: vertices, edges, and properties:


For example, within the context of social networks ...

Get Learning PySpark now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.