Commit 3c8be0c
committed
docs(nnp): document NaN-padding gotcha in load_input
Two recent CI failures (Element(nan), int(nan)) were caused by
tag rows being narrower than the widest line in input.nn, so
pandas pads the rest with NaN. Slice-style reads like row[1:]
must use pd.notna() — 'is not None' and truthiness checks both
pass NaN through silently.1 parent 9f5ce1d commit 3c8be0c
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
521 | 524 | | |
522 | 525 | | |
523 | 526 | | |
| |||
0 commit comments