See also

But what is the most common layover between San Francisco and Buffalo? Looking at the preceding results, it seems like Minneapolis, but looks can be deceiving. Instead, run the following query:

display(subsetOfPaths.groupBy("v1.id", "v1.City").count().orderBy(desc("count")).limit(10))

As you can see from the following graph, JFK is the most common transfer point between these two cities:

..................Content has been hidden....................

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