Код: Выделить всё
Server 1-Jun 6-Jun 1-jul Jul-10
ServerA 8 9 5 90
ServerB 100 10 9 90
Результирующий фрейм данных должен выглядеть следующим образом: это:
Код: Выделить всё
Server 1-Jun 6-Jun 1-jul Jul-10. maximumval
ServerA 8 9 5 90 90
ServerB 100 10 9 90 100
Код: Выделить всё
df['maximumval'] = df.max(axis=1)
Код: Выделить всё
'>=' no supported between instances of 'str' and 'float'
Подробнее здесь: https://stackoverflow.com/questions/790 ... -in-pandas