Support PEP 515 underscores in string-to-float astype - #24224
fallintoplace wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 12 included reviews per hour; 10 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe numeric string conversion path now accepts valid digit-separated underscores for integer and floating-point targets. Floating-point validation uses normalized strings. Tests cover valid and invalid floating-point underscore placement against pandas. ChangesNumeric string casting
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The float underscore conversion change has no remaining actionable issue from the reviewed behavior and is ready to merge. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
|
/ok to test 31eac4a |
What
Why
Integer casts already support this syntax, but float casts still reject valid values such as 1_2.3_4.
Implementation