I got the error
TypeError: __init__() got multiple values for argument 'index'
when I tried to formulate an optimisation problem using data
training_data = data
problem = DataProblem(
data=training_data,
variable_names=["h", "b", "l", "t"],
objective_names=["f_1", "f_2"],
bounds=pd.DataFrame(l_bounds, u_bounds,
columns=["h", "b", "l", "t"],
index=["l_bounds", "u_bounds"]))
Any ideas what is the reason for this error with that index argument?
If you want to use multiple indexes in DataFrames, I would suggest using a MultiIndex