You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Therefore now applied on eg the integer columns separately. In a test case, this caused the integers to overflow for prod(). While before, the DataFrame was converted to a float ndarray (because it also has a float columns), not giving those overflow issues. Hence the test was failing (see test dask/dataframe/tests/test_ufunc.py::test_ufunc_with_reduction). The question here is whether dask wants to follow that behaviour.
changed the title [-]Starting with pandas 1.2.0, column reductions are applied column-wise (when possible), and therefore now applied on eg the integer columns separately. In a test case, this caused the integers to overflow for `prod()`. While before, the DataFrame was converted to a float ndarray (because it also has a float columns), not giving those overflow issues. Hence the test was failing (see test `dask/dataframe/tests/test_ufunc.py::test_ufunc_with_reduction`).The question here is whether dask wants to follow that behaviour (I am not familiar with how column reductions are currently implemented).[/-][+]Pandas 1.2.0 compatibility - column reductions are applied column-wise (when possible)[/+]on Oct 4, 2021
I started looking at this today and I no longer feel confident that we want to add a whole new column-wise reduction codepath just to follow pandas on this.
Activity
[-]Starting with pandas 1.2.0, column reductions are applied column-wise (when possible), and therefore now applied on eg the integer columns separately. In a test case, this caused the integers to overflow for `prod()`. While before, the DataFrame was converted to a float ndarray (because it also has a float columns), not giving those overflow issues. Hence the test was failing (see test `dask/dataframe/tests/test_ufunc.py::test_ufunc_with_reduction`).The question here is whether dask wants to follow that behaviour (I am not familiar with how column reductions are currently implemented).[/-][+]Pandas 1.2.0 compatibility - column reductions are applied column-wise (when possible)[/+]jsignell commentedon Feb 23, 2022
I started looking at this today and I no longer feel confident that we want to add a whole new column-wise reduction codepath just to follow pandas on this.