diff --git a/modin/engines/base/frame/data.py b/modin/engines/base/frame/data.py index 146479639f8..77ec8b10fc5 100644 --- a/modin/engines/base/frame/data.py +++ b/modin/engines/base/frame/data.py @@ -1735,7 +1735,7 @@ def _copartition(self, axis, other, how, sort, force_repartition=False): other[i]._partitions, lambda df: df.reindex(joined_index, axis=axis), lengths=self._row_lengths if axis == 0 else self._column_widths, - manual_partition=True, + manual_partition=False, ) reindexed_other_list.append(reindexed_other) return reindexed_self, reindexed_other_list, joined_index diff --git a/modin/pandas/test/test_io.py b/modin/pandas/test/test_io.py index b2080dd1efc..3ec3b19daa0 100644 --- a/modin/pandas/test/test_io.py +++ b/modin/pandas/test/test_io.py @@ -1897,6 +1897,16 @@ def test_to_gbq(): modin_df.to_gbq("modin.table") +def test_internal_error_2322(): + accm = pd.DataFrame(["-22\n"] * 162) + accm = accm.iloc[2:, :] + accm.reset_index(drop=True, inplace=True) + accm["T"] = pd.Series(["24.67\n"] * 145) + + # see #2322 for details + repr(accm) + + def test_cleanup(): filenames = [ TEST_PARQUET_FILENAME,