8000 Fix FillMissing processor by removing inplace=True by nikhilmalkari8 · Pull Request #4055 · fastai/fastai · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@nikhilmalkari8
Copy link

Issue:

  • The FillMissing processor in tabular.core raised a warning due to the deprecated inplace=True in Pandas.
  • This caused compatibility issues with recent Pandas versions.

Fix:

  • Replaced inplace=True with reassignment in the FillMissing processor.
  • Updated FillMissing to work with TabularPandas objects and tested the behavior.

Test:

  • Added a new test in tests/test_tabular_core.py to validate the FillMissing functionality.
  • Verified that missing values are filled correctly in continuous columns.

@jph00
Copy link
Member
jph00 commented Nov 27, 2024

I do not see any mention in the pandas docs of a deprecation?

NB: this is an nbdev project, so the source files are the notebooks, and that's where tests go too.

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.

2 participants

0