@operational/frame
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -14,2 +14,3 @@ import { PivotFrame } from "./PivotFrame"; | ||
cell(rowIndex: number, columnIndex: number): any; | ||
row(rowIndex: number): any[]; | ||
getCursor(column: Name): ColumnCursor<Name>; | ||
@@ -16,0 +17,0 @@ groupBy(columns: Array<Name | ColumnCursor<Name>>): Array<IterableFrame<Name>>; |
@@ -21,2 +21,5 @@ import { PivotFrame } from "./PivotFrame"; | ||
} | ||
row(rowIndex) { | ||
return this.data[rowIndex]; | ||
} | ||
getCursor(column) { | ||
@@ -23,0 +26,0 @@ if (!this.cursorCache.has(column)) { |
@@ -13,4 +13,5 @@ import { DataFrame } from "./DataFrame"; | ||
mapRows<A>(callback: (row: RawRow, index: number) => A): A[]; | ||
row(rowIndex: number): any[]; | ||
peak(column: Name | ColumnCursor<Name>): any; | ||
} | ||
//# sourceMappingURL=FragmentFrame.d.ts.map |
@@ -42,2 +42,5 @@ import { getData } from "./secret"; | ||
} | ||
row(rowIndex) { | ||
return this.data[this.index[rowIndex]]; | ||
} | ||
// we need this function for table display | ||
@@ -44,0 +47,0 @@ peak(column) { |
@@ -31,2 +31,4 @@ /** | ||
uniqueValues(columns: Array<Name | ColumnCursor<Name>>): string[][]; | ||
/** needed for visualizations */ | ||
row(rowIndex: number): RawRow; | ||
} | ||
@@ -33,0 +35,0 @@ export interface PivotProps<Column extends string, Row extends string> { |
{ | ||
"name": "@operational/frame", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Contiamo DataFrame.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49010
543