TableOperations.jl icon indicating copy to clipboard operation
TableOperations.jl copied to clipboard

Add `reject` function to drop specified columns

Open salbalkus opened this issue 1 year ago • 0 comments

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.

salbalkus avatar Jan 02 '24 00:01 salbalkus