Dict from dataframe

julia> Dict(df.ID[i] => [df.X[i], df.Y[i]] for i in 1:nrow(df))
Dict{Int64, Vector{Int64}} with 4 entries:
  4 => [14, 13]
  2 => [12, 11]
  3 => [13, 12]
  1 => [11, 10]
3 Likes