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)