@dpkit/table
Version:
Data Package implementation in TypeScript.
11 lines (10 loc) • 493 B
TypeScript
import type { Schema } from "@dpkit/core";
import type { Expr } from "nodejs-polars";
import type { PolarsSchema } from "../schema/index.ts";
import type { Table } from "./Table.ts";
export declare function normalizeTable(table: Table, schema: Schema, options?: {
dontParse?: boolean;
}): Promise<import("nodejs-polars").LazyDataFrame<any>>;
export declare function normalizeFields(schema: Schema, polarsSchema: PolarsSchema, options?: {
dontParse?: boolean;
}): Record<string, Expr>;