Getting ready

To make it easier to view our data within the context of Motifs, let's first create a smaller version of the graph GraphFrame called graphSmall:

edgesSubset = deptsDelays_GEO.select("tripid", "delay", "src", "dst")
graphSmall = GraphFrame(vertices, edgesSubset)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset