Skip to content

Commit 6d86949

Browse files
committed
Fix deprecation warning from polars
1 parent ec0a372 commit 6d86949

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/everest/everest_storage.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -504,14 +504,14 @@ def _store_function_results(self, results: FunctionResults) -> _EvaluationResult
504504
separator=":",
505505
)
506506

507-
realization_objectives = realization_objectives.pivot( # type: ignore
507+
realization_objectives = realization_objectives.pivot(
508+
on="objective_name",
508509
values="objective_value",
509510
index=[
510511
"batch_id",
511512
"realization",
512513
"simulation_id",
513514
],
514-
columns="objective_name",
515515
)
516516

517517
return {

0 commit comments

Comments
 (0)