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 write(&self, filename: &str) -> Result<(), DataFrameError>;
fn col(&self, column_name: &str) -> Result<Expr, DataFrameError>;
fn schema(&self) -> Schema; }

DataFrame is an abstraction of a distributed query plan

Required Methods

Change the number of partitions

Projection

Selection

Sorting

Write to CSV ... will support other formats in the future

Return an expression representing the specified column

Implementors