From c73b16c3407d3231f86fd33049730301c165a8c8 Mon Sep 17 00:00:00 2001 From: Trevor Bergeron Date: Wed, 25 Feb 2026 23:14:37 +0000 Subject: [PATCH] docs: Fix recall_score doc example --- .../bigframes_vendored/sklearn/metrics/_classification.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/third_party/bigframes_vendored/sklearn/metrics/_classification.py b/third_party/bigframes_vendored/sklearn/metrics/_classification.py index e60cc8cec49..085388b0456 100644 --- a/third_party/bigframes_vendored/sklearn/metrics/_classification.py +++ b/third_party/bigframes_vendored/sklearn/metrics/_classification.py @@ -135,10 +135,10 @@ def recall_score( >>> y_pred = bpd.DataFrame([0, 2, 1, 0, 0, 1]) >>> recall_score = bigframes.ml.metrics.recall_score(y_true, y_pred, average=None) >>> recall_score - 0 1 - 1 0 - 2 0 - dtype: int64 + 0 1.0 + 1 0.0 + 2 0.0 + dtype: float64 Args: