Skip to content

Commit

Permalink
fix column widths
Browse files Browse the repository at this point in the history
  • Loading branch information
noloerino committed Sep 17, 2024
1 parent a2d5650 commit 3161540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modin/core/storage_formats/pandas/query_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def get_axis_len(self, axis: Literal[0, 1]) -> int:
if axis == 0:
return len(self._modin_frame)
else:
return self._modin_frame.column_widths
return sum(self._modin_frame.column_widths)

@property
def dtypes(self) -> pandas.Series:
Expand Down

0 comments on commit 3161540

Please sign in to comment.