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

Drop Columns using Select #124

Closed
versipellis opened this issue Feb 12, 2019 · 3 comments
Closed

Drop Columns using Select #124

versipellis opened this issue Feb 12, 2019 · 3 comments
Milestone

Comments

@versipellis
Copy link

In R's dplyr, you could drop a column using select(df,-columnName) as part of pipe chaining. This is particularly handy for datasets where you have a large number of columns, and only want to drop one column without retyping the rest of the column names. It'd be lovely to see this work with DataFramesMeta's select instead of having to break a LINQ chain to use delete!

@versipellis versipellis changed the title Negative Select? Drop Columns using Select Feb 12, 2019
@nalimilan
Copy link
Member

We should use InvertedIndices's Not for this.

@pdeffebach
Copy link
Collaborator

This should be pretty easy to implement, see the way we escape function arguments with cols

elseif onearg(e, :cols)

@pdeffebach pdeffebach added this to the 1.X milestone Mar 7, 2021
@pdeffebach
Copy link
Collaborator

Closed as a duplicate of #283

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

No branches or pull requests

3 participants