Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion::dataframe::DataFrame - Rust
[go: Go Back, main page]

Trait datafusion::dataframe::DataFrame [] [src]

pub trait DataFrame {
    fn repartition(&self, n: u32) -> Result<Box<DataFrame>, DataFrameError>;
fn select(&self, expr: Vec<Expr>) -> Result<Box<DataFrame>, DataFrameError>;
fn filter(&self, expr: Expr) -> Result<Box<DataFrame>, DataFrameError>;
fn sort(&self, expr: Vec<Expr>) -> Result<Box<DataFrame>, DataFrameError>;
fn col(&self, column_name: &str) -> Result<Expr, DataFrameError>;
fn schema(&self) -> Schema;
fn plan(&self) -> Box<LogicalPlan>; }

DataFrame is an abstraction of a distributed query plan

Required Methods

Change the number of partitions

Projection

Selection

Sorting

Return an expression representing the specified column

Implementors