I want to use graphX in zeppelin with my dataframe
First, my dataframe is as below.
+---+-----+---+
| id| name|age|
+---+-----+---+
| a| AA| 34|
| b| BB| 36|
| c| CC| 30|
| d| DD| 29|
| e| EE| 32|
| f| FF| 36|
| g| GG| 60|
+---+-----+---+
So I want to convert this dataframe to RDD as below.
RDD[(id, (name, age))]
But I don't know how can I convert it.