parameters[i, :] = np.nan
if has_valence_key_error:
unparam_valence_names = np.unique(unparam_valence_names)
unparametrized_valences = np.unique(unparametrized_valences)
joined_list = []
for i in range(len(unparam_valence_names)):
joined_list.append(
unparam_valence_names[i]
After Change
)
joined_list.append(str(unparametrized_valences[i]) + "\n")
joined_array = np.reshape(
joined_list, newshape=(len(unparametrized_valences),2)
)
joined_array = np.unique(joined_array, axis=0)
// Array must be flattened in order ro be able to apply the
// "join" method