-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Drop If syntax #2064
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
Comments
|
Is the right conclusion that pandas should close this ticket? Or should, instead, we keep the ticket open, and suggest that a contributor write the small bit of code it would take to support @jseabold 's request? It seems somewhat difficult to support this use case cleanly, so best to close the ticket in my opinion. But I thought I'd ping the ticket and see what you all think. If we believe the issue can be fixed by adding a note in the documentation, that could be a good task for contributors. |
Let's leave it open. Fruitful fodder for future design discussions (e.g. more |
A Also tagging in @jreback for a more currently active maintainer: |
Is this still relevant? |
pretty idiomatic
|
Maybe there's already a way to do this, and there's certainly a safer and more robust/full-featured way to do this, but I just monkey-patched my DataFrames to have a dropif method because I got tired of typing.
In the spirit of Stata's drop and keep commands.
The text was updated successfully, but these errors were encountered: