Skip to content

Conversation

skalwaghe-56
Copy link
Contributor


Added a test in TestFillNA to ensure that fillna preserves numeric conversions when using to_numeric with errors="coerce". Confirms that columns retain their expected dtypes after filling missing values.

Thanks!

@skalwaghe-56
Copy link
Contributor Author

@rhshadrach Request you to kindly review the PR!

@skalwaghe-56 skalwaghe-56 force-pushed the test-fillna-block-split branch from b841c93 to 1553d23 Compare September 8, 2025 14:03
@skalwaghe-56
Copy link
Contributor Author

@jorisvandenbossche Kindly request you to check and let me know!

@skalwaghe-56 skalwaghe-56 force-pushed the test-fillna-block-split branch 3 times, most recently from fc916ed to 2c73b32 Compare September 8, 2025 17:04
@skalwaghe-56 skalwaghe-56 force-pushed the test-fillna-block-split branch from 2c73b32 to 78da928 Compare September 8, 2025 17:09
Copy link
Member

@rhshadrach rhshadrach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure the linked issue is relevant anymore. Best I can guess from the description there, fillna used to downcast and wasn't doing so when downcasting was possible but it had to split a block. Now that fillna no longer downcasts at all, we do not need a test for this (since dtypes won't change, we will never need to split a block).

cc @jbrockmendel - that sound right?

@jbrockmendel
Copy link
Member

That sounds plausible

@skalwaghe-56
Copy link
Contributor Author

@jbrockmendel @rhshadrach Closing the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: need to block split when filling na
3 participants