Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modin throws RayGetError when doing cumulative functions #126

Closed
williamma12 opened this issue Oct 7, 2018 · 0 comments
Closed

Modin throws RayGetError when doing cumulative functions #126

williamma12 opened this issue Oct 7, 2018 · 0 comments
Assignees
Labels
bug 🦗 Something isn't working

Comments

@williamma12
Copy link
Collaborator

Describe the problem

Throws RayGetError when doing cumulative functions of nonnumeric dtypes

Source code / logs

import modin.pandas as pd
data = {
        "col1": 1.0,
        "col2": np.datetime64("2011-06-15T00:00"),
        "col3": np.array([3] * 4, dtype="int32"),
        "col4": "foo",
        "col5": True,
}
modin_df = pd.DataFrame(data)
modin_df.cummax(axis=1)

Throws the following error:

RayGetError: Could not get objectid ObjectID(01000000f0cc325805f5c83895ed0532827d52de). It was created by remote function modin.data_management.partitioning.axis_partition.deploy_ray_axis_func which failed with:

Remote function modin.data_management.partitioning.axis_partition.deploy_ray_axis_func failed with:

Traceback (most recent call last):
  File "/Users/William/Documents/modin/modin/data_management/partitioning/axis_partition.py", line 188, in deploy_ray_axis_func
    result = func(dataframe, **kwargs)
  File "/Users/William/Documents/modin/modin/data_management/data_manager.py", line 158, in helper
    def helper(df, internal_indices=[]):
  File "/Users/William/Documents/modin/venv/lib/python3.6/site-packages/pandas/core/generic.py", line 9661, in cum_func
    result = accum_func(y, axis)
  File "/Users/William/Documents/modin/venv/lib/python3.6/site-packages/pandas/core/generic.py", line 8829, in <lambda>
    lambda y, axis: np.maximum.accumulate(y, axis), "max",
  File "pandas/_libs/tslibs/timestamps.pyx", line 170, in pandas._libs.tslibs.timestamps._Timestamp.__richcmp__
TypeError: Cannot compare type 'Timestamp' with type 'float'
@williamma12 williamma12 added the bug 🦗 Something isn't working label Oct 7, 2018
@williamma12 williamma12 self-assigned this Oct 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🦗 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant