Commit 5542b0e
fix(learning): suppress dayfirst-coercion warning in column diff
pandas <2's Series.eq() between an object (string) column and a
datetime64 column implicitly attempts to parse the string side as
dates for comparison, which can emit a dayfirst-ambiguity UserWarning;
pandas >=2 dropped that implicit coercion. Since freshdata's pytest
config promotes freshdata-sourced UserWarnings to errors, this broke
the Python 3.9 (pandas<2) CI matrix job across most of tests/learning/.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent ddd33da commit 5542b0e
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
| |||
0 commit comments