Open sfc-gh-dpetersohn opened 2 weeks ago
It is possible that when axis=1 in squeeze we still check len(self.index), which is never necessary when axis=1. Link to code here: https://github.com/modin-project/modin/blob/eac3c77baf456c7bd7e1e5fde81790a4ed3ebb27/modin/pandas/dataframe.py#L2074-L2084
axis=1
len(self.index)
This is an easy fix, also see https://github.com/snowflakedb/snowpark-python/pull/1767
It is possible that when
axis=1
in squeeze we still checklen(self.index)
, which is never necessary whenaxis=1
. Link to code here: https://github.com/modin-project/modin/blob/eac3c77baf456c7bd7e1e5fde81790a4ed3ebb27/modin/pandas/dataframe.py#L2074-L2084This is an easy fix, also see https://github.com/snowflakedb/snowpark-python/pull/1767