Я пробовал
Код: Выделить всё
grouped = adult.groupby(["salary"], ["education"])
grouped
Код: Выделить всё
----> 2 grouped = adult.groupby(["salary"], ["education"])
3 grouped
TypeError: unhashable type: 'list'
Подробнее здесь: https://stackoverflow.com/questions/791 ... ct-columns