diff --git a/python/prophet/diagnostics.py b/python/prophet/diagnostics.py index 89f740c06..fbaf8ff7a 100644 --- a/python/prophet/diagnostics.py +++ b/python/prophet/diagnostics.py @@ -257,7 +257,7 @@ def map(self, func, *iterables): logger.info("Applying in parallel with %s", pool) try: - predicts = pool.map(single_cutoff_forecast, *iterables) + predicts = list(pool.map(single_cutoff_forecast, *iterables)) if parallel == "dask": # convert Futures to DataFrames predicts = cast("dd.Client", pool).gather(predicts)