From a80cee30c7525c5f530b0842f34267fb477d5bc5 Mon Sep 17 00:00:00 2001 From: Matthew Rocklin Date: Sat, 11 May 2024 06:35:02 -0500 Subject: [PATCH] small update --- docs/source/ml.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/ml.rst b/docs/source/ml.rst index 4696b279cbf..00a3fd50ba9 100644 --- a/docs/source/ml.rst +++ b/docs/source/ml.rst @@ -150,8 +150,8 @@ see which were likely to become ill # pandas code # predictions = model.predict(df) - # df["predictions"] = predictions + predictions.to_parquet("/path/to/results.parquet") # Dask code predictions = df.map_partitions(model.predict) - df["predictions"] = predictions + predictions.to_parquet("/path/to/results.parquet")