diff --git a/modin/core/storage_formats/pandas/query_compiler.py b/modin/core/storage_formats/pandas/query_compiler.py index 19a31dd1db6..14bdcd090c0 100644 --- a/modin/core/storage_formats/pandas/query_compiler.py +++ b/modin/core/storage_formats/pandas/query_compiler.py @@ -329,7 +329,7 @@ def add_suffix(self, suffix, axis=1): # copies if we end up modifying something here. We copy all of the metadata # to prevent that. def copy(self): - return self.__constructor__(self._modin_frame.copy()) + return self.__constructor__(self._modin_frame.copy(), self._shape_hint) # END Copy