Skip to content

cummax/cummin throw exception on mixed int/float type dataframes #1467

@gshimansky

Description

@gshimansky

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Ubuntu 19.10

  • Modin version (modin.__version__):

0.7.3+42.gc78828e.dirty

  • Python version:

Python 3.7.5

  • Code we can use to reproduce:
import modin.pandas as pd

data={'col1': [1, 2], 'col2': [3.3, 4.4]}
df = pd.DataFrame(data)
df1 = df.cummax(axis=1)
print(df1)

Describe the problem

Pandas allows comparing ints with floats while Modin throws a TypeException.

Source code / logs

Metadata

Metadata

Labels

bug 🦗Something isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions