-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: need to block split when filling na #14407
Comments
This looks to work on main. Could use a test I suppose |
Should this test drop into tests/base/test_fillna.py or maybe pandastests/dtypes somewhere? |
Look into #writing-tests. That might help to decide. |
take |
@nirmalmuppiri Are you still working on this issue? |
Issue still persists in pandas version 2.0.3 df = pd.DataFrame({ df.apply(lambda x: pd.to_numeric(x, errors='coerce')).fillna(df).dtypes c1 object Despite c2 being convertible to int64, it stays as object. However, column c3 is correctly identified as float64. Is someone working on this issue? |
take |
xref #14400
so [52] should be [53] already, but since the filled block was originally float, I don't think the splitting is happening.
The text was updated successfully, but these errors were encountered: