You have met six verbs and a handful of small words that go with them: by, where, as, all_but, descending. This chapter is about those small words, and it is the shortest useful thing in the book.
Each of them means one thing. Not one thing per verb, one thing. When you meet a verb you have never seen, the small words in it already make sense, and that is most of what makes this grammar quick to get back after a year away.
8.1by says which rows go together
You saw by on summarize, where it made the groups. It is the same word on add, where it says which rows a value is worked out within, and on take, where it says which rows the first few are taken from.
sales |>sort(descending(revenue)) |>take(1, by = product)
region
product
revenue
cost
East
Widget
500
100
West
Gadget
300
100
sales >> sort(descending(col.revenue)) >> take(1, by = col.product)
region
product
revenue
cost
East
Widget
500
100
West
Gadget
300
100
Three verbs, one word, one meaning. Later you will meet by on join and on widen, and it will mean the same thing there: the columns that say which rows correspond.
8.2as gives something a name
add [name] as [value]. The name goes first, the way assignment reads, and the same shape names the result of rename and the filler in fill_missing.
It is a modifier on a column, in a position where an ordering is being given. So it reads the same on sort and inside rank, and it needs no argument of its own on either.
On keep the question is about a row. Later you will see it on pick, where the question is about a column, and the difference is written down rather than guessed: inside pick you say name or kind to name what you are asking about.
A vocabulary is easy to learn and easy to lose. What survives a year away is not the word list, it is the rules for putting words together, and those only survive if there are few of them and they have no exceptions.
So the test this grammar sets itself is not whether it has a word for everything. It is whether a word you learned in one place still means the same thing in the next place you meet it. Every part after this one is that test being run.