and handles the calculation of the optimal guesses at any point in time. type1_map=pd.Series(my_dex['type1']).map(type_dict) type2_map=pd.Series(my_dex['type2']).map ...