Commit 6f041e6
committed
Bug: Raise ValueError with interpolate limit = 0
add whatsnew
Add similar log to fillna
Update whatsnew with issue and fillna change
Add test for a negative limit
change if statements to assert
move limit check closer to where the variable is used
Changes assertion to ValueError1 parent 3d6fcdc commit 6f041e6
File tree
5 files changed
+22
-5
lines changed- doc/source/whatsnew
- pandas
- core
- tests/series
5 files changed
+22
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| 421 | + | |
421 | 422 | | |
422 | 423 | | |
423 | 424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3262 | 3262 | | |
3263 | 3263 | | |
3264 | 3264 | | |
3265 | | - | |
| 3265 | + | |
3266 | 3266 | | |
3267 | 3267 | | |
3268 | 3268 | | |
| |||
3281 | 3281 | | |
3282 | 3282 | | |
3283 | 3283 | | |
| 3284 | + | |
3284 | 3285 | | |
3285 | 3286 | | |
3286 | 3287 | | |
| |||
3292 | 3293 | | |
3293 | 3294 | | |
3294 | 3295 | | |
3295 | | - | |
3296 | 3296 | | |
3297 | 3297 | | |
3298 | 3298 | | |
| |||
3687 | 3687 | | |
3688 | 3688 | | |
3689 | 3689 | | |
3690 | | - | |
| 3690 | + | |
3691 | 3691 | | |
3692 | 3692 | | |
3693 | 3693 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
375 | 378 | | |
376 | 379 | | |
377 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
173 | 176 | | |
174 | 177 | | |
175 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
298 | 303 | | |
299 | 304 | | |
300 | 305 | | |
| |||
865 | 870 | | |
866 | 871 | | |
867 | 872 | | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
868 | 878 | | |
869 | 879 | | |
870 | 880 | | |
| |||
0 commit comments