diff --git a/modin/core/dataframe/pandas/dataframe/dataframe.py b/modin/core/dataframe/pandas/dataframe/dataframe.py index d5d062f5e51..df0e5c46e3a 100644 --- a/modin/core/dataframe/pandas/dataframe/dataframe.py +++ b/modin/core/dataframe/pandas/dataframe/dataframe.py @@ -3450,7 +3450,7 @@ def broadcast_apply_full_axis( kw["column_widths"] = [len(new_columns)] elif axis == 1: if is_index_materialized and new_partitions.shape[0] == 1: - kw["row_lengths"] = [len(new_columns)] + kw["row_lengths"] = [len(new_index)] if not keep_partitioning: if kw["row_lengths"] is None and is_index_materialized: if axis == 0: