import { ns, ns_arr, numx, nsx, locParamArr, Obj, DataFrameArrInitOptions, DataFrameInitOptions, PushOptions, SortOptions, MergeOptions, DataFrameRankOptions, DataFrameRaw, DropDuplicatesOptions, QueryOptions, DiffOptions, DataFrameRollingOptions } from './interfaces'; import { GroupByThen, Rolling } from './df_lib'; import Index from './Index'; import Series from './Series'; declare const UNMET: unique symbol; declare class DataFrame { values: T[][]; shape: [number, number]; private _index; private _columns; private _tr?; constructor(arr: T[][] | Obj[]); constructor(arr: T[][], options: DataFrameArrInitOptions); constructor(arr: Obj[], options: DataFrameInitOptions); constructor(arr: T[][] | Obj[], options?: DataFrameInitOptions | DataFrameArrInitOptions); __transpose(arr: T[][]): T[][]; _transpose(arr: T[][]): T[][]; get tr(): T[][]; set tr(vals: T[][]); get index(): Index; get columns(): Index; _indexSetterEffect(): void; set index(vals: ns_arr | Index); set columns(vals: ns_arr | Index); rename(labelMap: { index?: { [key: ns]: ns; }; columns?: { [key: ns]: ns; }; }, inplace?: false): DataFrame; rename(labelMap: { index?: { [key: ns]: ns; }; columns?: { [key: ns]: ns; }; }, inplace: true): void; _p(): void; p(): void; transpose(inplace?: boolean): DataFrame; _iloc_asymmetric(v1: T[][], l1: Index, l2: Index, transpose: boolean, i1: numx | boolean[], i2?: numx | boolean[]): DataFrame | Series | typeof UNMET; _iloc_symmetric(ir?: numx | boolean[], ic?: numx | boolean[]): DataFrame | T | typeof UNMET; iloc(row: number, col: number): T; iloc(row: number, col?: null | string | number[] | boolean[]): Series; iloc(row: null | string | number[] | boolean[], col: number): Series; iloc(row?: null | string | number[] | boolean[], col?: null | string | number[] | boolean[]): DataFrame; iloc(row?: null | string | numx | boolean[], col?: null | string | numx | boolean[]): T | Series | DataFrame; loc(row: number | string, col: number | string): T | Series | DataFrame; loc(row: number | string, col?: null | locParamArr): Series | DataFrame; loc(row: null | locParamArr, col: number | string): Series | DataFrame; loc(row?: null | locParamArr, col?: null | locParamArr): DataFrame; loc(row?: null | number | string | locParamArr, col?: null | number | string | locParamArr): T | Series | DataFrame; _iset_asymmetric(v1: T[][], l1: Index, l2: Index, i1: numx | boolean[], rpl: T[] | T[][], i2?: numx | boolean[]): typeof UNMET | undefined; _iset_symmetric(ir: undefined | numx | boolean[], ic: undefined | numx | boolean[], rpl: T | T[] | T[][]): typeof UNMET | undefined; _iset(row: undefined | numx | boolean[], col: undefined | numx | boolean[], rpl: T | T[] | T[][]): void; iset(row: number, col: number, rpl: T): void; iset(row: number, rpl: T[]): void; iset(row: number, col: null | string | number[] | boolean[], rpl: T[]): void; iset(row: null | string | number[] | boolean[], col: number, rpl: T[]): void; iset(rpl: T[][]): void; iset(row: null | string | number[] | boolean[], rpl: T[][]): void; iset(row: null | string | number[] | boolean[], col: null | string | number[] | boolean[], rpl: T[][]): void; set(row: number | string, col: number | string, rpl: T | T[] | T[][]): void; set(row: number | string, rpl: T[] | T[][]): void; set(row: number | string, col: null | locParamArr, rpl: T[] | T[][]): void; set(row: null | locParamArr, col: number | string, rpl: T[] | T[][]): void; set(rpl: T[][]): void; set(row: null | locParamArr, rpl: T[][]): void; set(row: null | locParamArr, col: null | locParamArr, rpl: T[][]): void; _push(val: T[], { name, axis }?: PushOptions): void; _series_push(val: Series, options: PushOptions): void; push(val: T[] | Series, options?: PushOptions): void; _insert(i1: number, l1: Index, v1: T[][], rpl: T[], name: number | string): void; insert(idx: number, val: T[], { name, axis }?: PushOptions): void; drop(labels: nsx, axis?: 0 | 1): DataFrame; drop_duplicates(labels: nsx, { keep, axis }?: DropDuplicatesOptions): DataFrame; set_index(label: number | string): DataFrame; set_columns(label: number | string): DataFrame; reset_index(name?: string | number): DataFrame; reset_columns(name?: string | number): DataFrame; to_dict(axis?: 0 | 1): Obj[]; bool(expr: string, axis?: 0 | 1): boolean[]; b(expr: string, options?: QueryOptions): boolean[]; query(col_expr: string): DataFrame; query(col_expr: null | string, row_expr_or_ctx: any): DataFrame; query(col_expr: null | string, row_expr: null | string, ctx: any): DataFrame; q(col_expr: string): DataFrame; q(col_expr: null | string, row_expr_or_ctx: any): DataFrame; q(col_expr: null | string, row_expr: null | string, ctx: any): DataFrame; _iter(indexType: 'index' | 'columns'): Generator<[ ss: Series, key: string | number, i: number ]>; _iter(indexType: 'index' | 'columns', func: (row: Series, key: number | string | ns_arr, i: number) => void): void; iterrows(): Generator<[ row: Series, key: string | number, i: number ]>; iterrows(func: (row: Series, key: number | string | ns_arr, i: number) => void): void; itercols(): Generator<[ col: Series, key: string | number, i: number ]>; itercols(func: (row: Series, key: number | string | ns_arr, i: number) => void): void; groupby(labels?: nsx | null, axis?: 0 | 1): GroupByThen; _groupby(labels: nsx | null, axis?: 0 | 1): GroupByThen; sort_values(labels: nsx | null, { ascending, axis }?: SortOptions): DataFrame; op(opStr: string | ((x: T) => K)): DataFrame; op(opStr: string | ((x: T, y: Z) => K), df: DataFrame | Z[][]): DataFrame; merge(df: DataFrame, { on, axis }?: MergeOptions): DataFrame; rank(this: DataFrame, options?: DataFrameRankOptions): DataFrame; change(this: DataFrame, op_str: string, { periods, axis }?: DiffOptions): DataFrame; diff(this: DataFrame, { periods, axis }?: DiffOptions): DataFrame; pct_change(this: DataFrame, { periods, axis }?: DiffOptions): DataFrame; rolling(this: DataFrame, window: number, { min_periods, center, closed, step, axis }?: DataFrameRollingOptions): Rolling; isna(): DataFrame; to_raw(copy?: boolean): DataFrameRaw; reduce(func: (a: T[]) => K, axis?: 0 | 1): Series; _reduce_num(this: DataFrame, func: (a: number[]) => number, axis: 0 | 1): Series; min(this: DataFrame, axis?: 0 | 1): Series; max(this: DataFrame, axis?: 0 | 1): Series; sum(this: DataFrame, axis?: 0 | 1): Series; mean(this: DataFrame, axis?: 0 | 1): Series; median(this: DataFrame, axis?: 0 | 1): Series; std(this: DataFrame, axis?: 0 | 1): Series; var(this: DataFrame, axis?: 0 | 1): Series; mode(this: DataFrame, axis?: 0 | 1): Series; prod(this: DataFrame, axis?: 0 | 1): Series; accumulate(this: DataFrame, func: string | ((x: number, y: number) => number), axis?: number): DataFrame; cumsum(this: DataFrame, axis?: 0 | 1): DataFrame; cumprod(this: DataFrame, axis?: 0 | 1): DataFrame; } export default DataFrame;