e = sqlContext.createDataFrame([('a', 'b', 'friend'), ('b', 'c', 'follow'),
    ('c', 'b', 'follow')], ['src', 'dst', 'relationship'])
g = GraphFrame(v, e)
g.inDegrees.show()
How do I run graphx with Python / pyspark?