Skip to content

Commit d3578ef

Browse files
committed
change dict based on index
1 parent 98b5241 commit d3578ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openml/evaluations/functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def list_evaluations_setups(
288288
289289
output_format: str, optional (default='object')
290290
The parameter decides the format of the output.
291-
- If 'object' the output is a dict of OpenMLEvaluation objects
291+
292292
- If 'dict' the output is a dict of dict
293293
- If 'dataframe' the output is a pandas DataFrame
294294
@@ -325,4 +325,4 @@ def list_evaluations_setups(
325325
if output_format == 'dataframe':
326326
return df
327327
else:
328-
return df.to_dict()
328+
return df.to_dict(orient='index')

0 commit comments

Comments
 (0)