>_ IzzyLab

Topic breakdown

Transposing changes a table's orientation: what ran along rows now runs along columns. datamash transpose does this for rectangular data — handy when a tool or a person expects a "wide" format instead of a "long" one (or vice versa). All rows must have the same number of fields. The output is tab-separated (change it with --output-delimiter). Its sibling is reverse (reverse the column order) — both operations are purely structural, with no arithmetic.

What's checked

  1. as many lines as there were columns
  2. table transposed

What it looks like