Commit d192b79
Warn and render na_color when color column is all-NaN (#599)
Previously an all-NaN color column raised a misleading ValueError that
blamed instance-id alignment even when the join succeeded. Now:
- if dtypes differ (genuine alignment failure) the error is kept but
rephrased to drop the incorrect "could not be aligned" language
- if dtypes match (all-NaN column) a warning is emitted and every
element is rendered with na_color, consistent with partial-NaN behaviour
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9afec7e commit d192b79
1 file changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1104 | 1104 | | |
1105 | 1105 | | |
1106 | 1106 | | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
1111 | | - | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
1112 | 1116 | | |
| 1117 | + | |
| 1118 | + | |
1113 | 1119 | | |
1114 | 1120 | | |
1115 | 1121 | | |
| |||
0 commit comments