Table
Types
Functions
def from_csv (path : String) : Table
def to_csv (table : Table) (path : String) : Unit
def columns (table : Table) : Array String
def select (table : Table) (1 columns : Array String) : Table
def filter (table : Table) (predicate : (row : Row) → Bool) : Table
def map_column (table : Table) (column : String) (f : (a : t) → b) : Table
def summary (table : Table) (column : String) (f : (1 a : Array Int) → b) : b
def group_by (table : Table) (column : String) : Array Table
def pivot (table : Table) (index : String) (columns : String) (values : String) : Table
def melt (table : Table) (1 id_vars : Array String) (1 value_vars : Array String) (var_name : String) (value_name : String) : Table
def nrow (table : Table) : Int
def ncol (table : Table) : Int
def cell (table : Table) (r : Int) (col : String) : Int
def mutate (table : Table) (newcol : String) (f : (row : Row) → Int) : Table
def sum_col (table : Table) (column : String) : Int
def mean_col (table : Table) (column : String) : Int
def max_col (table : Table) (column : String) : Int
def min_col (table : Table) (column : String) : Int
def count (table : Table) : Int
def arrange (table : Table) (column : String) : Table
def head (table : Table) (n : Int) : Table
def cumsum (table : Table) (column : String) (newcol : String) : Table
def join (left : Table) (right : Table) (on : String) : Table
def spread (table : Table) (index : String) (columns : String) (values : String) : Table
def gather (table : Table) (1 id_vars : Array String) (1 value_vars : Array String) (var_name : String) (value_name : String) : Table