Skip to content

Commit 9fe8541

Browse files
fix errors
1 parent 6ee8440 commit 9fe8541

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/snowflake/snowpark/modin/plugin/compiler/snowflake_query_compiler.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,15 +1511,7 @@ def to_pandas(
15111511
The QueryCompiler converted to pandas.
15121512

15131513
"""
1514-
if self._relaxed_query_compiler is None:
1515-
frame = self._modin_frame
1516-
else:
1517-
frame = (
1518-
self._relaxed_query_compiler._modin_frame.ensure_row_position_column(
1519-
dummy_row_pos_mode=False
1520-
)
1521-
)
1522-
result = frame.to_pandas(statement_params, **kwargs)
1514+
result = self._modin_frame.to_pandas(statement_params, **kwargs)
15231515
if self._attrs:
15241516
result.attrs = self._attrs
15251517
return result

0 commit comments

Comments
 (0)