dataframe v0.3.0 DataFrame.Table

Table contains functions which act upon a 2D structure with data: a list of lists. Internally this is implemented as a list of rows. Given a table: 1 2 3 4 5 6 Internally we are working with [[1,2], [3,4], [5,6]] dimensions would be: x_dimension = 2 y_dimension = 3

Summary

Types

A table is a list of lists, it can contain numbers strings atoms or be empty

Types

table :: [[any], ...]

A table is a list of lists, it can contain numbers strings atoms or be empty

Functions

append_column(table, column)

Specs

append_column(table, [any]) :: table
at(table, row, column)

Specs

at(table, number, number) :: any
build(row_count, column_count, function)

Specs

build(non_neg_integer, non_neg_integer, function) :: table
build_random(row_count, column_count)

Specs

build_random(non_neg_integer, non_neg_integer) :: [[number]]
check_dimensional_compatibility!(table, list, dimension)
columns(table, column_indexes)

Specs

columns(table, list) :: table
columns(table, Range.t) :: table
dimensions(table)

Specs

dimensions(table) :: [non_neg_integer]
map(table, func)

Specs

map(table, function) :: table
map_rows(table, func)

Specs

map_rows(table, function) :: table
new(list_of_list)

Specs

new(table) :: table
new(list_of_lists, list)
reduce(table, acc, fun)
remove_column(table, column_index, list)
rows(table, row_indexes)

Specs

rows(table, list) :: table
rows(table, Range.t) :: table
rows_columns(table, row_info, column_info)

Specs

rows_columns(table, Range.t | list, Range.t | list) :: table
slice(table, range_index, range_column)

Specs

slice(table, Range.t, Range.t) :: table
transpose(table)
with_index(table)

Specs

with_index(table) :: [{[{any, non_neg_integer}, ...], non_neg_integer}, ...]
x_dimension(table)
y_dimension(table)