The step verb computes rolling statistics across consecutive records; -a delta adds a column holding the change from the previous row's score. The first row has no predecessor, so its delta is blank. This is the standard way to turn a series of values into a series of differences for time-series analysis. Add -g dept to restart the delta at each department boundary.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.