@dpkit/table
Version:
Data Package implementation in TypeScript.
12 lines (11 loc) • 457 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 processTable(table: Table, options?: {
schema?: Schema;
sampleSize?: number;
}): Promise<Table>;
export declare function processFields(schema: Schema, polarsSchema: PolarsSchema, options?: {
dontParse?: boolean;
}): Record<string, Expr>;