Replies: 2 comments 6 replies
-
i noticed something similar in 1.0.0 : In [1]: from datatable import dt, f, by
In [2]: dt.__version__
Out[2]: '1.0.0'
In [3]: DT = dt.Frame(G=[1, 1, 1, 2, 2, 2],
...: V=[None, None, None, None, 3, 5],
...: N=[None, None, None, None, None, None])
In [4]: DT
Out[4]:
| G V N
| int32 int32 void
-- + ----- ----- ----
0 | 1 NA NA
1 | 1 NA NA
2 | 1 NA NA
3 | 2 NA NA
4 | 2 3 NA
5 | 2 5 NA
[6 rows x 3 columns]
In [5]: DT[:, dt.sum(dt.mean(f.V)), f.G]
Out[5]:
| G V
| int32 float64
-- + ----- ------------
0 | 1 0
1 | 2 7.26276e-322
[2 rows x 2 columns] |
Beta Was this translation helpful? Give feedback.
5 replies
-
Yeah, we seems to introduce a bug during refactoring, but a similar bug exists in |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's have a look at the dataframe below:
The outputs for the double aggregation in a groupby yields wrong results. Any ideas @oleksiyskononenko ?
Beta Was this translation helpful? Give feedback.
All reactions