I'm quite new to Python and I am looking for a datastructure to store results from measurements with different parameters.
I have two parameters, param_1_vals = [10, 20, 30, 40] and param_2_vals = [1, 2, 3, 4] with which I do some caluculations and finally obtain a result result, which is a Numpy array. Since I loop through the parameters in nested for oops, for each combination of parameters I get a different result array.
I wonder if there is a multidimensional datastructure that is able to store all the results for all parameter combinations can be indexed like
result_(param_1,param_2)
which gives me the corresponding Numpy array for that specific combination of parameters. Preferably, the parameters can not only be numeric but also strings.
pandas