Open dchigarev opened 2 years ago
We don't fail with exception anymore, but the output is wrong anyway:
>>> print(f"Pandas:\n{sr._to_pandas() + df._to_pandas()}")
Pandas:
0 1 2
a 11 22 33
>>> print(f"Modin:\n{sr + df}")
Modin:
__reduced__ 0 1 2
0 NaN NaN NaN NaN
1 NaN NaN NaN NaN
2 NaN NaN NaN NaN
a NaN NaN NaN NaN
System information
modin.__version__
): 4ec7f63df = pd.DataFrame({"a": [1, 2, 3]}).T sr = pd.Series([10, 20, 30])
print(f"Pandas:\n{sr._to_pandas() + df._to_pandas()}") print(f"Modin:\n{sr + df}")
Pandas:
print(f"Modin:\n{sr + df}")
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\logging\logger_metaclass.py", line 68, in log_wrap
return method(*args, kwargs)
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\pandas\series.py", line 163, in add
return self.add(right)
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\logging\logger_metaclass.py", line 68, in log_wrap
return method(*args, *kwargs)
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\pandas\series.py", line 514, in add
return super(Series, new_self).add(
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\logging\logger_metaclass.py", line 68, in log_wrap
return method(args, kwargs)
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\pandas\base.py", line 593, in add
return self._binary_op(
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\logging\logger_metaclass.py", line 68, in log_wrap
return method(args, kwargs)
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\pandas\base.py", line 431, in _binary_op
new_query_compiler = getattr(self._query_compiler, op)(other, kwargs)
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\logging\logger_metaclass.py", line 68, in log_wrap
return method(args, kwargs)
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\core\dataframe\algebra\binary.py", line 92, in caller
query_compiler._modin_frame.binary_op(
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\logging\logger_metaclass.py", line 68, in log_wrap
return method(*args, *kwargs)
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\core\dataframe\pandas\dataframe\dataframe.py", line 115, in run_f_on_minimally_updated_metadata
result = f(self, args, kwargs)
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\core\dataframe\pandas\dataframe\dataframe.py", line 2516, in binary_op
return self.constructor(
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\logging\logger_metaclass.py", line 68, in log_wrap
return method(*args, **kwargs)
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\core\dataframe\pandas\dataframe\dataframe.py", line 210, in init
ErrorMessage.catch_bugs_and_request_email(
File "C:\Users\rp-re\OneDrive\Desktop\rep\modin\modin\error_message.py", line 70, in catch_bugs_and_request_email
0 1 2 a 11 22 33 Traceback (most recent call last): File "t3.py", line 8, in
raise Exception( Exception: Internal Error. Please visit https://github.com/modin-project/modin/issues to file an issue with the traceback and the command that caused this error. If you can't file a GitHub issue, please email bug_reports@modin.org. Column widths: 1 != 4