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

Add reject function to drop specified columns #34

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

Conversation

salbalkus
Copy link

This PR adds a reject function that drops the specified columns from the Table. It works by calling select on the columns of the table not specified by the user in the function call, thereby reusing all of the code that supports select.

I am adding this since I wrote it for my own work and figured it would be useful to other users. I'll admit that it might not be the cleanest solution -- open to better ways of doing this, or to changing the name of the function to something like dropcol if that name is more descriptive.

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.

1 participant