nodejs-polars
Version:
Polars: Blazingly fast DataFrames in Rust, Python, Node.js, R and SQL
18 lines (17 loc) • 423 B
TypeScript
import { type Expr } from "../expr";
/**
* Struct functions
*/
export interface ExprStruct {
/**
* Access a field by name
* @param name - name of the field
*/
field(name: string): Expr;
/**
* Rename the fields of a struct
* @param names - new names of the fields
*/
renameFields(names: string[]): Expr;
}
export declare const ExprStructFunctions: (_expr: any) => ExprStruct;