I have a dataframe such as :

```
Groups COL1
G1     1
G2     3
G3     5
G1     7
G2     9
G3     11

```

And I would like to take the column `Groups` as multiple unique colums such as :

```
       G1 G2 G3 
  1    1  3  5
  2    7  9  8

```

Does someone have an idea please ?

Here is the toy data if it can helps :

```
structure(list(Groups = c("G1", "G2", "G3", "G1", "G2", "G3"), 
    Col1 = c(1L, 3L, 5L, 7L, 9L, 11L)), class = "data.frame", row.names = c(NA, 
-6L))

```