3  Choosing columns

pick names the columns you want.

sales |> pick(product, revenue)
product revenue
Widget 100
Widget 200
Gadget 300
Gadget 150
Widget 500
sales >> pick(col.product, col.revenue)
product revenue
Widget 100
Widget 200
Gadget 300
Gadget 150
Widget 500

Wrap the names in all_but to say which ones to drop instead. It is the same verb, because choosing columns is choosing columns whichever way you say which ones, and it is the same word in both languages.

sales |> pick(all_but(cost, region))
product revenue
Widget 100
Widget 200
Gadget 300
Gadget 150
Widget 500
sales >> pick(all_but(col.cost, col.region))
product revenue
Widget 100
Widget 200
Gadget 300
Gadget 150
Widget 500