Are there any books to the left of the shelf the tomato is on?
No, there are apples to the left of the shelf.
     src        edge_attr  dst
0      1  to the right of   46
1      1   to the left of   10
2      1   to the left of   31
3      2   to the left of   31
4      2  to the right of   10
..   ...              ...  ...
281   64  to the right of   48
282   64  to the right of   22
283   64  to the right of   59
284   64   to the left of   57
285   64  to the right of   52

[286 rows x 3 columns]