We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f07a02 commit 4ce5903Copy full SHA for 4ce5903
1 file changed
src/optimagic/parameters/tree_registry.py
@@ -182,6 +182,7 @@ def _unflatten_df_optree(aux_data, leaves):
182
sr.tolist(),
183
{"index": sr.index, "name": sr.name},
184
list(sr.index.map(_index_element_to_string)),
185
+ _get_names_pandas_dataframe(sr),
186
),
187
lambda aux_data, leaves: pd.Series(leaves, **aux_data),
188
namespace=extended_namespace,
0 commit comments