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
{{ message }}
Repository navigation
cumsum() doesn't work on tables with >1 partition #5024
Activity
TomAugspurger commentedon Jun 28, 2019
What happens if you compute directly after the loc?
tshatrov commentedon Jun 28, 2019
Compute after the loc works (5th line in the original example). It creates a normal pandas dataframe and cumsum works on it.
TomAugspurger commentedon Jun 28, 2019
This is a bug in
dask.dataframe.DataFrame.take_lastdask/dask/dataframe/core.py
Lines 5238 to 5240 in e0f9456
That should be
a.iloc[0:1, 0]I think.TomAugspurger commentedon Jun 28, 2019
With
things work fine (thanks for the nice example).
Are you interested in making a pull request with that change, and a test to go with it @tshatrov?
Fix cumulative functions on tables with more than 1 partition (dask#5024
Fix cumulative functions on tables with more than 1 partition (dask#5024
Fix cumulative functions on tables with more than 1 partition (dask#5024
tshatrov commentedon Jul 1, 2019
Done #5034