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

ENH: Processing of .mask() for pd.NA #56844 #58730

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Apr 3, 2024

  1. Fix pandas-dev#56844: function mask handling None values as condition

    This commit addresses an issue where using pandas.NA in conjunction with the mask() method resulted in unexpected behavior. The problem arose when comparing a Series containing pandas.NA with a condition within mask(), causing inconsistencies in the output. This fix ensures that pandas.NA behaves consistently with False in logical operations within mask().
    mafaldam committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    9cebdf8 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Update pandas/core/generic.py

    Co-authored-by: Xiao Yuan <yuanx749@gmail.com>
    mafaldam and yuanx749 committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    a0369c7 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Fix pandas-dev#56844: function mask handling None values as condition

    This commit addresses an issue where using pandas.NA in conjunction with the mask() method resulted in unexpected behavior. The problem arose when comparing a Series containing pandas.NA with a condition within mask(), causing inconsistencies in the output. This fix ensures that pandas.NA behaves consistently with False in logical operations within mask().
    mafaldam committed May 8, 2024
    Configuration menu
    Copy the full SHA
    4f75357 View commit details
    Browse the repository at this point in the history
  2. Update pandas/core/generic.py

    Co-authored-by: Xiao Yuan <yuanx749@gmail.com>
    mafaldam and yuanx749 committed May 8, 2024
    Configuration menu
    Copy the full SHA
    3b20b84 View commit details
    Browse the repository at this point in the history
  3. fix: rebase with master

    mafaldam committed May 8, 2024
    Configuration menu
    Copy the full SHA
    15c74b5 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Update pandas/tests/frame/indexing/test_mask.py

    Co-authored-by: William Ayd <william.ayd@icloud.com>
    mafaldam and WillAyd committed May 22, 2024
    Configuration menu
    Copy the full SHA
    d005ecc View commit details
    Browse the repository at this point in the history