Grupo por 2 atributos únicos pandas
import numpy as np
g = df.groupby('c')['l1','l2'].apply(lambda x: list(np.unique(x)))
Weary Wolverine
import numpy as np
g = df.groupby('c')['l1','l2'].apply(lambda x: list(np.unique(x)))