Compute the strongly connected component (SCC) of each vertex and return a DataFrame with each vertex assigned to the SCC containing that vertex.
gf_scc(x, max_iter, ...)
An object coercable to a GraphFrame (typically, a gf_graphframe).
gf_graphframe
Maximum number of iterations.
Optional arguments, currently not used.
# NOT RUN { g <- gf_friends(sc) gf_scc(g, max_iter = 10) # }
Run the code above in your browser using DataLab