так что это пример моего кода
Код: Выделить всё
data = data.drop(['label1', 'label2'], axis=1, inplace=True)
Подробнее здесь: https://stackoverflow.com/questions/748 ... r-providin
Код: Выделить всё
data = data.drop(['label1', 'label2'], axis=1, inplace=True)