Open c3-cjazra opened 2 years ago
@c3-cjazra Thanks for reporting this. I can reproduce it on Modin version 0.13.0+7.g32cff0d8. I believe that the bug is in calculating any rolling
result on a dataframe where one of the columns can't be aggregated with the rolling operation because it's the wrong type. Here's a copy-pastable example of Modin failing:
import modin.pandas as pd
df = pd.DataFrame({"a": [1], "b": ["x"]})
df.rolling(window=1).min()
whereas pandas lets you do that and gives the result for just the numerical column:
a
0 1.0
System information
Ray 1.9.2 modin 0.12.0 python 3.9.7
Describe the problem
throws error
Works on pandas: