Commit e9129f8
Fix CI: use non-deprecated _inferred_freq_str in dt64arr_to_periodarr
The Series.dt.freq deprecation forced the internal caller in
dt64arr_to_periodarr off data.dt.freq, but it landed on
data._values.inferred_freq, which is itself deprecated (GH#64679).
That tripped the Pandas4Warning under -W error in CI. Use the
non-deprecated internal _inferred_freq_str instead, which returns the
identical value the original data.dt.freq did.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 438d58f commit e9129f8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1474 | 1474 | | |
1475 | 1475 | | |
1476 | 1476 | | |
1477 | | - | |
| 1477 | + | |
1478 | 1478 | | |
1479 | 1479 | | |
1480 | 1480 | | |
| |||
0 commit comments