Skip to content

BUG: allow DataFrame[mask]=value with mixed non-numeric dtypes #53291

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
merged 3 commits into from
May 19, 2023

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Looks like this check was implemented to avoid some inconsistency, but I can no longer find what that inconsistency was.

@jbrockmendel
Copy link
Member Author

Could also just call this a bugfix since we're going from raising to not raising

@mroeschke
Copy link
Member

Yeah I would be okay calling this a bug fix

@jbrockmendel jbrockmendel changed the title DEPR: allow DataFrame[mask]=value with mixed non-numeric dtypes BUG: allow DataFrame[mask]=value with mixed non-numeric dtypes May 19, 2023
@jbrockmendel
Copy link
Member Author

Changed from deprecation to bugfix

@mroeschke mroeschke added Indexing Related to indexing on series/frames, not to indexes themselves Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate labels May 19, 2023
@mroeschke mroeschke added this to the 2.1 milestone May 19, 2023
@mroeschke mroeschke merged commit b684666 into pandas-dev:main May 19, 2023
@mroeschke
Copy link
Member

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the depr-7657 branch May 19, 2023 18:06
topper-123 pushed a commit to topper-123/pandas that referenced this pull request May 22, 2023
…s-dev#53291)

* DEPR: allow DataFrame[mask]=value with mixed non-numeric dtypes

* Change deprecation to bugfix
Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
…s-dev#53291)

* DEPR: allow DataFrame[mask]=value with mixed non-numeric dtypes

* Change deprecation to bugfix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indexing Related to indexing on series/frames, not to indexes themselves Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants