Repository navigation
Commit 9ed7993
authored
fix: nullable integer streaming stats on pandas < 2 (#192)
test-matrix (3.9) has failed on main since #187: with pandas 1.5, the
streaming state converted numeric columns via
pd.to_numeric(s).to_numpy(dtype="float64"), which raises "cannot convert to
'float64'-dtype NumPy array with missing values" for nullable (masked)
integer columns with NA. fd.clean_timeseries and StreamingCleaner hit it on
any Int*/UInt* column with gaps.
Pass na_value=np.nan there and in the time-series interpolation helper,
which has the same conversion. Also pin the alert step #188 added to
fetch-fixtures.yml, which #190's SHA sweep predated.1 parent 20c9d3a commit 9ed7993
3 files changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
431 | 434 | | |
432 | | - | |
433 | | - | |
| 435 | + | |
434 | 436 | | |
435 | 437 | | |
436 | 438 | | |
437 | | - | |
438 | | - | |
| 439 | + | |
439 | 440 | | |
440 | 441 | | |
441 | | - | |
442 | | - | |
| 442 | + | |
| 443 | + | |
443 | 444 | | |
444 | 445 | | |
445 | 446 | | |
| |||
0 commit comments