Commit fb37281
committed
Fix CI: study 217 synthetic index overflowed pandas Timestamp bounds
The Lipstick-Index null tape builds 5000 monthly points with
pd.date_range("2000-01-01", periods=5000, freq="MS"), which lands in
2416 — past pandas' ~2262 nanosecond-Timestamp bound — and raised
OutOfBoundsDatetime on the CI runners (3.10–3.12), reddening the whole
tests workflow since the 211-251 batch. It happened to pass on the newer
local pandas only.
The month label is decorative (recession months are drawn at random, not
by date) and the docstring already calls it a period, so switch to
pd.period_range — PeriodIndex has no nanosecond bound. No test reads the
column as a Timestamp; the 217 suite is green.1 parent e6414d2 commit fb37281
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
| |||
0 commit comments