@dpkit/table
Version:
Data Package implementation in TypeScript.
11 lines (10 loc) • 596 B
TypeScript
import type { Field, Schema } from "@dpkit/core";
import type { Expr } from "nodejs-polars";
import type { PolarsSchema } from "../schema/index.ts";
import type { Table } from "./Table.ts";
type DenormalizeTableOptions = {
nativeTypes?: Exclude<Field["type"], undefined>[];
};
export declare function denormalizeTable(table: Table, schema: Schema, options?: DenormalizeTableOptions): Promise<import("nodejs-polars").LazyDataFrame<any>>;
export declare function denormalizeFields(schema: Schema, polarsSchema: PolarsSchema, options?: DenormalizeTableOptions): Record<string, Expr>;
export {};