Versions in this module Expand all Collapse all v0 v0.1.0 Feb 2, 2021 Changes in this version + func CheckNoColumnOverlap(dfs []*DataFrame) error + type BoolAccess struct + func (access BoolAccess) Get(row int) bool + func (access BoolAccess) Set(row int, val bool) + type CSVReadingSpec struct + BinaryAsFloat bool + BoolAsFloat bool + Comma rune + Comment rune + Encoding encoding.Encoding + Exclude []string + Header []string + IntAsFloat bool + LazyQuotes bool + MaxCPU int + MissingValues []string + TrimLeadingSpace bool + type CSVWritingSpec struct + Comma rune + MaintainOrder bool + MinRowsPerFile int + StringMissingMarker string + UseCRLF bool + type ColumnAccess struct + func (access ColumnAccess) SharedIndex(localIndex int) int + func (access ColumnAccess) Size() int + type ColumnHeader struct + func Columns(names ...string) ColumnHeader + func (h ColumnHeader) And(others ...ColumnHeader) ColumnHeader + func (h ColumnHeader) Copy() ColumnHeader + func (h ColumnHeader) Except(columns ...string) ColumnHeader + func (h ColumnHeader) ExceptHeader(others ...ColumnHeader) ColumnHeader + func (h ColumnHeader) NameList() []string + func (h ColumnHeader) NameSet() map[string]bool + func (h ColumnHeader) Num() int + type DataBuilder struct + RawData *RawData + func (builder DataBuilder) AddBools(col string, values ...bool) DataBuilder + func (builder DataBuilder) AddFloats(col string, values ...float64) DataBuilder + func (builder DataBuilder) AddInts(col string, values ...int) DataBuilder + func (builder DataBuilder) AddObjects(col string, values ...interface{}) DataBuilder + func (builder DataBuilder) AddStrings(col string, values ...string) DataBuilder + func (builder DataBuilder) MarkAsString(col string) DataBuilder + func (builder DataBuilder) SetBools(col string, values []bool) DataBuilder + func (builder DataBuilder) SetFloats(col string, values []float64) DataBuilder + func (builder DataBuilder) SetInts(col string, values []int) DataBuilder + func (builder DataBuilder) SetObjects(col string, values []interface{}) DataBuilder + func (builder DataBuilder) TextEncoding(encoding encoding.Encoding) DataBuilder + func (builder DataBuilder) ToDataFrame() *DataFrame + type DataFrame struct + func ColumnConcatView(dfs ...*DataFrame) (*DataFrame, error) + func ColumnCopyConcat(dfs ...*DataFrame) (*DataFrame, error) + func ColumnSmartConcat(dfs ...*DataFrame) (*DataFrame, error) + func EmptyDataFrame(nRows int, maxCPU int) *DataFrame + func RowConcat(dfs ...*DataFrame) (*DataFrame, error) + func (df *DataFrame) AreIndicesAltered() bool + func (df *DataFrame) Bools(colName string) BoolAccess + func (df *DataFrame) ColumnView(columns ...string) *DataFrame + func (df *DataFrame) Copy() *DataFrame + func (df *DataFrame) CopyValuesToInterfaces(colName string) []interface{} + func (df *DataFrame) Debug(enable bool) *DataFrame + func (df *DataFrame) DetachedView(columns ...string) *DataFrame + func (df *DataFrame) EmptyMask() []bool + func (df *DataFrame) Encode(newEncoding encoding.Encoding) error + func (df *DataFrame) Floats(colName string) FloatAccess + func (df *DataFrame) GoodShortNames(minLength int) map[string]string + func (df *DataFrame) HashStringsView(columns ...string) *DataFrame + func (df *DataFrame) IndexView(indices []int) *DataFrame + func (df *DataFrame) Ints(colName string) IntAccess + func (df *DataFrame) LabelToInt(colName string) ([]int, map[string]int) + func (df *DataFrame) MaskView(mask []bool) *DataFrame + func (df *DataFrame) NumRows() int + func (df *DataFrame) Objects(colName string) ObjectAccess + func (df *DataFrame) OverwriteBools(colName string, values []bool) + func (df *DataFrame) OverwriteFloats32(colName string, values []float32) + func (df *DataFrame) OverwriteFloats64(colName string, values []float64) + func (df *DataFrame) OverwriteInts(colName string, values []int) + func (df *DataFrame) OverwriteObjects(colName string, values []interface{}, objectType ObjectType) + func (df *DataFrame) OverwriteStrings(colName string, values []string) + func (df *DataFrame) PrintHead(n int, floatFormat string) *DataFrame + func (df *DataFrame) PrintRecords(n int, floatFormat string, shorthands map[string]string) *DataFrame + func (df *DataFrame) PrintSummary() *DataFrame + func (df *DataFrame) ResetIndexView() *DataFrame + func (df *DataFrame) ReverseView() *DataFrame + func (df *DataFrame) SampleView(n int, replacement bool) *DataFrame + func (df *DataFrame) ShallowCopy() *DataFrame + func (df *DataFrame) ShuffleView() *DataFrame + func (df *DataFrame) SliceView(from int, to int) *DataFrame + func (df *DataFrame) SortedView(byColumn string) *DataFrame + func (df *DataFrame) SplitNView(n int) []*DataFrame + func (df *DataFrame) SplitTrainTestViews(testingRatio float64) (*DataFrame, *DataFrame) + func (df *DataFrame) SplitView(batchSize int) []*DataFrame + func (df *DataFrame) Strings(colName string) StringAccess + func (df *DataFrame) ThreadSafeMasking(enable bool) *DataFrame + func (df *DataFrame) To1CSV(r io.Writer, options CSVWritingSpec) error + func (df *DataFrame) ToCSVDir(options CSVWritingSpec, prefix string) ([]string, error) + func (df *DataFrame) ToCSVFiles(options CSVWritingSpec, paths ...string) error + func (df *DataFrame) ToCSVs(writers []io.Writer, options CSVWritingSpec) error + func (df *DataFrame) TopView(byColumn string, n int, ascending bool, sorted bool) *DataFrame + func (df *DataFrame) View() *DataFrame + func (df *DataFrame) ZeroMask() []bool + type DataFrameInternals struct + DF *DataFrame + func (dfi DataFrameInternals) BoolData(columnName string) []bool + func (dfi DataFrameInternals) FloatData(columnName string) []float64 + func (dfi DataFrameInternals) GetIndices() []int + func (dfi DataFrameInternals) GetMask() []bool + func (dfi DataFrameInternals) IntData(columnName string) []int + func (dfi DataFrameInternals) ObjectData(columnName string) []interface{} + type Dense64Batching struct + func NewDense64Batching(columns []string) *Dense64Batching + func (bat *Dense64Batching) DenseMatrix(df *DataFrame) mat.Matrix + type Float32Iterator struct + func NewFloat32Iterator(df *DataFrame, columns []string) *Float32Iterator + func (ite *Float32Iterator) NextRow() ([]float32, int, int) + type FloatAccess struct + func (access FloatAccess) Get(row int) float64 + func (access FloatAccess) Set(row int, val float64) + func (access FloatAccess) VecDense() *mat.VecDense + func (access FloatAccess) VecDenseCopy() *mat.VecDense + type FloatBatching struct + type IntAccess struct + func (access IntAccess) Get(row int) int + func (access IntAccess) Set(row int, val int) + type ObjectAccess struct + func (access ObjectAccess) Get(row int) interface{} + func (access ObjectAccess) Set(row int, val interface{}) + type ObjectType uint8 + const AnyObject + const StringObject + type RawData struct + func FromCSV(r io.Reader, options CSVReadingSpec) (*RawData, error) + func FromCSVFile(path string, options CSVReadingSpec) (*RawData, error) + func FromCSVFilePattern(glob string, options CSVReadingSpec) (*RawData, error) + func MergeRawDataColumns(list []*RawData) *RawData + func MergeRawDataRows(list []*RawData) *RawData + func NewRawData() *RawData + func (data *RawData) ActualMaxCPU() int + func (data *RawData) AllocBools(columns ...string) + func (data *RawData) AllocFloats(columns ...string) + func (data *RawData) AllocInts(columns ...string) + func (data *RawData) AllocObjects(columns ...string) + func (data *RawData) AllocStrings(columns ...string) + func (data *RawData) BoolHeader() ColumnHeader + func (data *RawData) BoolToFloats(columns ...string) + func (data *RawData) CheckConsistency(t *testing.T) bool + func (data *RawData) CreateColumnQueue(columns []string) utils.StringQ + func (data *RawData) Drop(columns ...string) + func (data *RawData) FloatHeader() ColumnHeader + func (data *RawData) Header() ColumnHeader + func (data *RawData) IntHeader() ColumnHeader + func (data *RawData) IntToFloats(columns ...string) + func (data *RawData) NumAllocatedRows() int + func (data *RawData) NumColumns() int + func (data *RawData) ObjectHeader() ColumnHeader + func (data *RawData) Rename(oldName string, newName string) + func (data *RawData) SetMaxCPU(maxCPU int) + func (data *RawData) StringHeader() ColumnHeader + func (data *RawData) ToDataFrame() *DataFrame + func (data *RawData) TransferRawDataFrom(from *RawData) + func (data *RawData) Unshare(columns ...string) + func (df *RawData) PrintUIDs() + type RowIterator struct + func (ite *RowIterator) Columns() []string + func (ite *RowIterator) Reset(df *DataFrame, check bool) + type StringAccess struct + func (access StringAccess) Get(row int) string + func (access StringAccess) Set(row int, val string)