Skip to content

Commit

Permalink
Update metalearners/metalearner_grid_search_cv.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Klein <[email protected]>
  • Loading branch information
FrancescMartiEscofetQC and kklein authored Jun 27, 2024
1 parent d4cfb2a commit a14932c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metalearners/metalearner_grid_search_cv.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _fit_and_score(job: _FitAndScoreJob) -> _CVResult:
)


def _format_results(results: Sequence[_CVResult]):
def _format_results(results: Sequence[_CVResult]) -> pd.DataFrame:
rows = []
for result in results:
row: dict[str, str | int | float] = {}
Expand Down

0 comments on commit a14932c

Please sign in to comment.