Produces a column of the lengths of each row of the input table.
ROWLEN(a)
a |
- |
A series or table. |
A single column series with the same number of rows as the input table.
a = {{2, 4, 6},
{8, 10}}
b = rowlen(a)
b == {3, 2}
ROWLEN works with arrays with differing number of elements.