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

Rename DataFrame.where to DataFrame.filter? #2846

Closed
MarcoGorelli opened this issue Sep 14, 2024 · 1 comment · Fixed by #2853
Closed

Rename DataFrame.where to DataFrame.filter? #2846

MarcoGorelli opened this issue Sep 14, 2024 · 1 comment · Fixed by #2853

Comments

@MarcoGorelli
Copy link

Is your feature request related to a problem? Please describe.

The following libraries use DataFrame.filter:

Renaming DataFrame.where to DataFrame.filter (or at least introducing a filter alias?) might lower the learning curve?

Additional context

@jaychia
Copy link
Contributor

jaychia commented Sep 15, 2024

Cool -- would love to take a contribution here if you'd like!

I think we're open to exposing an alias and just forward the *args and **kwargs to .where.

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 a pull request may close this issue.

2 participants