Annotations: Add annotations support to Loki (#18949)

This commit is contained in:
Andrej Ocenas
2019-09-10 11:04:44 +02:00
committed by GitHub
parent eccc6adfde
commit 0e3e874eee
12 changed files with 240 additions and 15 deletions

View File

@@ -68,4 +68,10 @@ export class DataFrameView<T = any> implements Vector<T> {
toJSON(): T[] {
return this.toArray();
}
forEachRow(iterator: (row: T) => void) {
for (let i = 0; i < this.data.length; i++) {
iterator(this.get(i));
}
}
}