I have a dataframe like this:
[{ "user" : "sgeth",
"Lat" : "50.7207",
"Long" : "-1.87566"},
{ "user" : "sgeth",
"Lat" : "50.7206",
"Long" : "-1.87579"}]
There are more elements, but for the sake of time I have omitted them. If I have grouped this dataframe by user so I could apply a function by group. My question is how would I access the group element's coordinates and the element after it?