Skip to content
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

depr(python): Deprecate nans_compare_equal parameter in assert utils #12019

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Oct 25, 2023

With the upcoming fix that makes NaN values equal by default, this parameter is no longer useful.

If people really want the functionality of unequal NaNs, they can fill the NaNs in one of the frames/series with a sentinel value.

Removing this option will greatly simplify the assert utils code.

@github-actions github-actions bot added deprecation Add a deprecation warning to outdated functionality python Related to Python Polars labels Oct 25, 2023
@stinodego stinodego requested a review from orlp October 25, 2023 12:33
@stinodego stinodego marked this pull request as ready for review October 25, 2023 12:37
@stinodego stinodego merged commit d6f1ecf into main Oct 26, 2023
14 checks passed
@stinodego stinodego deleted the asserts4 branch October 26, 2023 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation Add a deprecation warning to outdated functionality python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants