Versions in this module Expand all Collapse all v0 v0.2.7 Feb 12, 2024 v0.2.1 Feb 12, 2024 Changes in this version + const DataFrameOrderLabel + const MatirxPairWiseAdd + const MatirxPairWiseDivide + const MatirxPairWiseMulti + func MatrixPairWiseOperation(m0 []interface{}, m1 []interface{}, option int) ([]interface{}, error) + func ProcessDataFrame(dataFrame *DataFrame, callback Callback) error + func SortableTupleAppendToDataframe(tuple SortableTuple, dataFrame *DataFrame) error + func ToInterfaceArray(val interface{}) ([]interface{}, error) + func TupleAppendToDataframe(tuple map[string]interface{}, dataFrame *DataFrame) error + func TupleArrayToDataframe(tuples []map[string]interface{}, dataFrame *DataFrame) error + func TupleAssignToDataframe(index int, tuple map[string]interface{}, dataFrame *DataFrame) error + type Callback func(tuple *SortableTuple, lastTuple bool) error + type Count struct + func (this *Count) Update(newData interface{}) error + func (this *Count) Value() interface{} + type Data struct + func (this *Data) Update(newData interface{}) error + func (this *Data) Value() interface{} + type DataFrame struct + func NewDataFrame() *DataFrame + func ToDataFrame(data interface{}) (*DataFrame, error) + func Transpose(dataFrame *DataFrame, newLabels []string) *DataFrame + func (dataFrame *DataFrame) AddColumn(colName string, colValues []interface{}) + func (dataFrame *DataFrame) AsIs() interface{} + func (dataFrame *DataFrame) AsMatrix() [][]interface{} + func (dataFrame *DataFrame) AsTable() map[string]interface{} + func (dataFrame *DataFrame) GetColumn(label string) []interface{} + func (dataFrame *DataFrame) GetData() map[string][]interface{} + func (dataFrame *DataFrame) GetFromTable() bool + func (dataFrame *DataFrame) GetLabels() []string + func (dataFrame *DataFrame) SetFromTable(fromTable bool) + func (dataFrame *DataFrame) SetLabels(order []string) + type DataFrameSorter struct + Ascending bool + Axis int + ByKey bool + ColumnLabels []string + NilLast bool + OriginalFromTable bool + RowLabels []string + SortBy []interface{} + Tuples []SortableTuple + func NewDataFrameSorter(Axis int, Ascending bool, NilLast bool, ByKey bool, SortBy []interface{}, ...) *DataFrameSorter + func (s DataFrameSorter) GetDataFrame() *DataFrame + func (s DataFrameSorter) Len() int + func (s DataFrameSorter) Less(i, j int) bool + func (s DataFrameSorter) Swap(i, j int) + type DataState interface + Update func(newData interface{}) error + Value func() interface{} + func GetFunction(functionName string) DataState + type First struct + func (this *First) Update(newData interface{}) error + func (this *First) Value() interface{} + type Index struct + Id uint64 + func NewIndex(elements []interface{}) Index + type Max struct + func (this *Max) Update(newData interface{}) error + func (this *Max) Value() interface{} + type Mean struct + func (this *Mean) Update(newData interface{}) error + func (this *Mean) Value() interface{} + type Min struct + func (this *Min) Update(newData interface{}) error + func (this *Min) Value() interface{} + type SortableTuple struct + Data map[string]interface{} + func NewSortableTuple(data map[string]interface{}, fieldOrder []string) *SortableTuple + func (t SortableTuple) GetByIndex(index int) interface{} + func (t SortableTuple) GetByKey(key string) interface{} + func (t SortableTuple) GetData() map[string]interface{} + func (t SortableTuple) GetDataArray() []interface{} + type Sum struct + func (this *Sum) Update(newData interface{}) error + func (this *Sum) Value() interface{}