9 lines
282 B
TypeScript
9 lines
282 B
TypeScript
import { RowData } from '../helper';
|
|
export interface ImputeOptions {
|
|
field: string;
|
|
method: 'min' | 'max' | 'mean' | 'median' | 'value';
|
|
value?: any;
|
|
groupBy?: string | string[];
|
|
}
|
|
export declare function impute(rows: RowData[], options: ImputeOptions): RowData[];
|