def label_index

mlbend-datasets@0.1.6.0 · main.bend:106

import mlbend-datasets@0.1.6.0/main.bend as MlbendDatasets
import Base

106# The place of the label in a row: the last column, less the columns
107# that are left out at the end.
108def label_index(+xs: List<&2, String>, drop: Nat) -> Nat:
109  Nat.sub(List.length(&2, String, xs), Nat.add(1n, drop))

Uses (6)

Used by (2)