Commit c95bcfb
committed
Support dask 2025.4.0
Dask 2025.4.0 optimizes multiple DataFrames together, which exposes
division mismatches when assigning a pandas Series to a dask DataFrame
column. The old reset_index/set_index workaround no longer avoids this.
Replacing it with compute-assign-rewrap via dd.from_pandas, which builds
a clean expression graph. This is safe because __getitem__ already
computes the DataFrame to produce the Series being assigned.1 parent 3fb77e7 commit c95bcfb
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments