May 2017
Intermediate to advanced
294 pages
7h 33m
English
To get started with the recipe, we first need to perform the following steps:
$ spark-shell --packages graphframes:graphframes:0.2.0- spark2.0-s_2.11
scala> import org.graphframes._
scala> val vertices = spark.sqlContext.createDataFrame (List(("sc","Santa Clara","CA"),("fr","Fremont","CA"), ("sf","San Francisco","CA"))).toDF("id","city","state")
scala> val edges ...
Read now
Unlock full access