(x: any)
| 1557 | const df = new DataFrame(data) |
| 1558 | |
| 1559 | const sum = (x: any) => { |
| 1560 | return x.reduce((a: any, b: any) => a + b, 0) |
| 1561 | } |
| 1562 | const expected = [6, 7, 3] |
| 1563 | const dfApply = df.apply(sum, { axis: 1 }) |
| 1564 | assert.deepEqual(dfApply.values, expected) |
nothing calls this directly
no outgoing calls
no test coverage detected