Skip to content

Commit def8aa3

Browse files
committed
chore: remove unused method
1 parent 1f07a02 commit def8aa3

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/optimagic/parameters/tree_registry.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,6 @@ def set_attr(node):
137137
return tree_map(set_attr, tree)
138138

139139

140-
def _get_names_pandas_dataframe(df):
141-
index_strings = list(df.index.map(_index_element_to_string))
142-
out = ["_".join([loc, col]) for loc, col in product(index_strings, df.columns)]
143-
return out
144-
145-
146140
def _array_element_names(arr):
147141
dim_names = [map(str, range(n)) for n in arr.shape]
148142
names = list(map("_".join, itertools.product(*dim_names)))

0 commit comments

Comments
 (0)