MlbendDatasets.fields_before: def of mlbend-datasets@0.1.6.0 Import: import mlbend-datasets@0.1.6.0/main.bend as MlbendDatasets Lines 111-113 of mlbend-datasets@0.1.6.0/main.bend: https://jend.leeeet.dev/read.txt?path=mlbend-datasets@0.1.6.0/main.bend&start_line=111&end_line=113 import Base # The fields before the label. def fields_before(+xs: List<&2, String>, drop: Nat) -> List<&2, String>: List.take(&2, String, xs, label_index(xs, drop)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.take https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=mlbend-datasets@0.1.6.0/main.bend&name=label_index