Skip to content

ENH: Support scalar condition in Series.where and DataFrame.where #53905

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

Closed

Conversation

randolf-scholz
Copy link
Contributor

@randolf-scholz randolf-scholz commented Jun 28, 2023

@randolf-scholz randolf-scholz changed the title Where scalar cond Support scalar condition in Series.where and DataFrame.where Jun 28, 2023
@randolf-scholz randolf-scholz changed the title Support scalar condition in Series.where and DataFrame.where Support scalar condition in Series.where and DataFrame.where Jun 28, 2023
@randolf-scholz randolf-scholz changed the title Support scalar condition in Series.where and DataFrame.where ENH: Support scalar condition in Series.where and DataFrame.where Jun 28, 2023
use lib.item_from_zerodim
@randolf-scholz
Copy link
Contributor Author

@jbrockmendel Any other objections?

@jbrockmendel
Copy link
Member

Any other objections?

Not about the implementation, I'm just not sure I want to support this. In general we're trying to move towards being stricter in signatures. But not strong enough an opinion to cause a stink here.

@mroeschke
Copy link
Member

Sounds like this feature needs more discussion and buy in in the original issue so going to close for now awaiting that decision. Can reopen once that has been done

@mroeschke mroeschke closed this Aug 16, 2023
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.

ENH: Support scalar condition in Series.where and DataFrame.where
3 participants