uwdata / arquero

Query processing and transformation of array-backed data tables.
https://idl.uw.edu/arquero
BSD 3-Clause "New" or "Revised" License
1.22k stars 64 forks source link

Verb to drop columns by name? #324

Closed mhkeller closed 1 year ago

mhkeller commented 1 year ago

I didn't see this in the docs. Is there a verb or other method to drop columns similar to Underscore's omit?

jcmkk3 commented 1 year ago

Check out the selection helpers. You should be able to use aq.not. https://uwdata.github.io/arquero/api/#not

mhkeller commented 1 year ago

Awesome thanks!

table.select(aq.not('colB', 'colC'))