Are there cookies to the right of the pink candy?
No, there is a cupcake to the right of the candy.
     src        edge_attr  dst
0      0   to the left of   17
1      0   to the left of    4
2      0   to the left of   22
3      0   to the left of   11
4      0  to the right of    7
..   ...              ...  ...
165   31  to the right of   18
166   31  to the right of   15
167   31  to the right of   19
168   31  to the right of   26
169   31  to the right of   24

[170 rows x 3 columns]