Skip to content

Commit b171f71

Browse files
Copilotmrjf
andauthored
Remove unnecessary type cast and unused imports in notna_isna test
Agent-Logs-Url: https://github.com/githubnext/tsessebe/sessions/b7c662d8-3f71-45fb-9924-5ff50bf3496f Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
1 parent 85400c0 commit b171f71

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/stats/notna_isna.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55
import { describe, expect, it } from "bun:test";
66
import fc from "fast-check";
7-
import { DataFrame, Index, RangeIndex, Series } from "../../src/index.ts";
8-
import type { Label, Scalar } from "../../src/index.ts";
7+
import { DataFrame, RangeIndex, Series } from "../../src/index.ts";
8+
import type { Scalar } from "../../src/index.ts";
99
import {
1010
countValid,
1111
countna,
@@ -31,7 +31,7 @@ function sv(series: Series<Scalar>): readonly Scalar[] {
3131
function mkdf(cols: ReadonlyMap<string, Series<Scalar>>): DataFrame {
3232
const first = cols.values().next().value;
3333
const n = first !== undefined ? first.values.length : 0;
34-
return new DataFrame(cols, new RangeIndex(n) as Index<Label>);
34+
return new DataFrame(cols, new RangeIndex(n));
3535
}
3636

3737
// ─── isna — scalar ────────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)