I have a dataframe df like
X Y value 1 1 foo 1 2 bar 2 1 lo 2 2 la
is there an elegant way to transform it into a x-y-map like