Maximizing / Optimizing 3 results at the same time
问题 I have a csv file with more than 100 columns and 3500 rows which looks like this (just an example): import pandas as pd data = pd.DataFrame(data={ 'Profit': [90, -70, 111, 40, -5, -1], 'Crit1': [True, True, False, True, False, True], 'Crit2': [False, False, False, True, True, False], 'Crit3': [True, True, False, True, True, True], 'Crit4': [False, True, True, False, False, False], 'Crit5': [True, False, False, True, True, True] }) I'd like to define 3 results: 1 - totalProfit: is the sum of