Documentation ¶
Index ¶
- func NewDataFrameCondition() *condition.Condition
- func NewSeriesCondition() *condition.Condition
- type BoolLessFunc
- type DataFrame
- func (df *DataFrame) Append(copy bool, records ...interface{}) (newDataFrame *DataFrame, err error)
- func (df *DataFrame) AssignSeries(inplace bool, ses ...*Series) (newDataFrame *DataFrame, err error)
- func (df *DataFrame) At(rowLabel int, columnLabel interface{}) (value elements.ElementValue, err error)
- func (df *DataFrame) Copy() (newDataFrame *DataFrame)
- func (df *DataFrame) Filter(cond *condition.Condition) (newDataFrame *DataFrame, err error)
- func (df *DataFrame) GetSeriesByColumn(column string) (newSeries *Series, err error)
- func (df *DataFrame) IndexStruct(rowLabel int) (rowStruct interface{}, err error)
- func (df *DataFrame) IsCondition(cond *condition.Condition) (ixs index.IndexBool, err error)
- func (df *DataFrame) NumColumn() int
- func (df *DataFrame) NumRow() int
- func (df *DataFrame) Select(columns SelectionColumns) (newDataFrame *DataFrame, err error)
- func (df *DataFrame) Sort(inplace bool, sortKeys ...SortKey) (newDataFrame *DataFrame, err error)
- func (df *DataFrame) Subset(index index.IndexInt) (newDataFrame *DataFrame, err error)
- func (df *DataFrame) Swap(i, j int)
- func (df *DataFrame) ToStructs() (structs []interface{})
- type FloatLessFunc
- type IntLessFunc
- type LessFunc
- type ObjectLessFunc
- type SelectionColumns
- type Series
- func (se *Series) Append(copy bool, records ...interface{}) (newSe *Series, err error)
- func (se *Series) At(coord int) (value elements.ElementValue, err error)
- func (se *Series) Copy() (newSeries *Series)
- func (se *Series) Filter(cond *condition.Condition) (newSeries *Series, err error)
- func (se *Series) IsCondition(cond *condition.Condition) (ixs index.IndexBool, err error)
- func (se *Series) IsNaN() []bool
- func (se *Series) Len() int
- func (se *Series) NewBoolLessFunc(f BoolLessFunc) LessFunc
- func (se *Series) NewFloatLessFunc(f FloatLessFunc) LessFunc
- func (se *Series) NewIntLessFunc(f IntLessFunc) LessFunc
- func (se *Series) NewStringLessFunc(f StringLessFunc) LessFunc
- func (se *Series) Sort(inPlace bool, ascending bool, orderBy ...LessFunc) (newSe *Series, err error)
- func (se *Series) Subset(index index.IndexInt) (newSeries *Series, err error)
- func (se *Series) Swap(i, j int)
- func (se *Series) Type() types.Type
- type SortKey
- type StringLessFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDataFrameCondition ¶
func NewSeriesCondition ¶
Types ¶
type BoolLessFunc ¶
type DataFrame ¶
type DataFrame struct { Err error // contains filtered or unexported fields }
func NewFromCSV ¶
func NewFromSeries ¶
func NewFromStructs ¶
func (*DataFrame) AssignSeries ¶
func (df *DataFrame) AssignSeries(inplace bool, ses ...*Series) (newDataFrame *DataFrame, err error)
AssignSeries assigns new columns to a DataFrame by series.
func (*DataFrame) At ¶
func (df *DataFrame) At(rowLabel int, columnLabel interface{}) (value elements.ElementValue, err error)
func (*DataFrame) GetSeriesByColumn ¶
func (*DataFrame) IndexStruct ¶
func (*DataFrame) IsCondition ¶
func (*DataFrame) Select ¶
func (df *DataFrame) Select(columns SelectionColumns) (newDataFrame *DataFrame, err error)
type FloatLessFunc ¶
type IntLessFunc ¶
type ObjectLessFunc ¶
type ObjectLessFunc func(e1, e2 interface{}) bool
type SelectionColumns ¶
type SelectionColumns interface{}
SelectionColumns support indexes are:
int []int string []string
type Series ¶
type Series struct {
// contains filtered or unexported fields
}
func (*Series) IsCondition ¶
func (*Series) NewBoolLessFunc ¶
func (se *Series) NewBoolLessFunc(f BoolLessFunc) LessFunc
func (*Series) NewFloatLessFunc ¶
func (se *Series) NewFloatLessFunc(f FloatLessFunc) LessFunc
func (*Series) NewIntLessFunc ¶
func (se *Series) NewIntLessFunc(f IntLessFunc) LessFunc
func (*Series) NewStringLessFunc ¶
func (se *Series) NewStringLessFunc(f StringLessFunc) LessFunc
type StringLessFunc ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.