Commit d0db036
Add regression test for pandas 3.0 CoW set_weights bug
This test specifically verifies the fix for the issue where
`mdf["column"].set_weights()` would fail with AttributeError
in pandas 3.0 with Copy-on-Write enabled, because each column
access returned a new copy instead of the wrapped MicroSeries.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent cbc86fc commit d0db036
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
201 | 221 | | |
202 | 222 | | |
203 | 223 | | |
| |||
0 commit comments