-
Notifications
You must be signed in to change notification settings - Fork 337
fix: Pandas 3 compatibility - robust dtype checks and test fixes #885
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
Merged
solegalli
merged 28 commits into
feature-engine:mnt-pandas3
from
ankitlade12:mnt-pandas3
Feb 6, 2026
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
da5ff67
fix: Pandas 3 compatibility - robust dtype checks and test fixes
ankitlade12 e0c3292
fix: Remove whitespace before colon in slice notation (flake8 E203)
ankitlade12 ccbfa05
feat: finalize Pandas 3 compatibility fixes and test updates
ankitlade12 fd43124
style: fix flake8 line length and linting issues
ankitlade12 8367d4a
style: fix remaining flake8 C416 issue
ankitlade12 3225500
Fix Pandas 3 regressions in check_y, _check_contains_inf, and StringS…
ankitlade12 bde0b9b
Fix E501 line too long in dataframe_checks.py
ankitlade12 dedf500
Fix StringSimilarityEncoder NaN issues and fragile test assertions
ankitlade12 765e102
fix: Pandas 3 stability - mock datasets and fix FutureWarnings
ankitlade12 28894c5
style: fix flake8 linting errors E501, E302, E305, SIM102
ankitlade12 08821a6
test: improve patch coverage for Pandas 3 stability fixes
ankitlade12 972a4b7
style: fix E501 line too long in similarity encoder tests
ankitlade12 d141332
style: revert unrelated flake8 and formatting changes
ankitlade12 05ca43c
fix: restore Pandas 3 test logic and silence Pandas4Warning
ankitlade12 36c2232
style: move numpy import to top of math_features.py
ankitlade12 0fd811a
style: fix spacing in MatchVariables verbose error message
ankitlade12 d98c8d7
test: revert dynamic std values to hardcoded values in MathFeatures t…
ankitlade12 b02ec5e
style: combine imports in _variable_type_checks.py
ankitlade12 66ff38b
refactor: centralize is_object function and use it across the codebase
ankitlade12 b45c51f
refactor: further simplify check_y dtype checks using is_object
ankitlade12 1ba6b44
revert: remove unnecessary complexity in _check_contains_inf and asso…
ankitlade12 50eec35
docs: rename _normalize_func to _map_unnamed_func_to_str and add comm…
ankitlade12 94d2771
perf: optimize casting logic in SimilarityEncoder
ankitlade12 0cb335b
fix: address remaining code review feedback - follow sklearn conventi…
ankitlade12 c25d5bd
style: fix linting and follow sklearn convention for MathFeatures
ankitlade12 8b50186
revert: remove california housing mock from conftest.py
ankitlade12 4f9b146
revert: restore original error message assertion in DatetimeFeatures …
ankitlade12 09a1ece
fix: use robust datetime normalization and flexible error assertions …
ankitlade12 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat! Thank you!