Repository navigation
Conversation
…able Series RHS (GH#62473) The precision-loss check in _coerce_to_data_and_mask compared the positionally-coerced float value against original[idx], which for a Series does a label lookup and can land on a missing element even when the value at that position is concrete. Access the original positionally (and guard against a null original) so the comparison reflects the coerced value.
|
Warning Review limit reachedNext included review available in 4 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe numeric coercion path now reads nullable Series values positionally and skips null precision checks. A regression test covers ChangesNullable Series iloc assignment
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to The nullable Series assignment fix is covered by regression testing, with no unresolved merge-blocking risk identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 2 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fix the three pre-commit.ci hook failures on the PR head: - ruff format: rewrapped the new `if` in numeric.py and collapsed the new test's `pd.Series(...)` call in test_setitem.py - sort-whatsnew-items: reordered the new v3.1.0.rst entry into sort order - trim-trailing-whitespace: removed a trailing space in v3.1.0.rst Cosmetic only; no behavior change (red/green and regression already green).
059b278 to
7d51e14
Compare
4a0051b to
18e7944
Compare
Drop the unreachable `libmissing.checknull` guard from the GH#62473 precision-loss check and keep the positional read, plus a no-NA regression test and a broader whatsnew entry. xref: #62473
Mirror of pandas-dev/pandas#68312. Runs the pandas test suite through dagz.
Summary by CodeRabbit
Bug Fixes
Series.ilocassignments involving nullable integer Series with missing values and non-default indexes.Tests
Documentation