From 8e4ec6234afc240f1ea5cf482802e8f605165d26 Mon Sep 17 00:00:00 2001 From: Anatoly Myachev Date: Mon, 6 Nov 2023 13:10:57 +0100 Subject: [PATCH] Update modin/core/storage_formats/pandas/query_compiler.py --- modin/core/storage_formats/pandas/query_compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modin/core/storage_formats/pandas/query_compiler.py b/modin/core/storage_formats/pandas/query_compiler.py index c84d281df66..9d19a0298ed 100644 --- a/modin/core/storage_formats/pandas/query_compiler.py +++ b/modin/core/storage_formats/pandas/query_compiler.py @@ -521,7 +521,7 @@ def map_func( if kwargs["how"] == "left": partition_idx = service_kwargs["partition_idx"] - if partition_idx and len(axis_lengths): + if len(axis_lengths): if not keep_index_or_not(left, right): # Doesn't work for "inner" case, since the partition sizes of the # left dataframe may change