Versions in this module Expand all Collapse all v1 v1.0.0 Nov 4, 2025 Changes in this version + const AggCount + const AggFirst + const AggLast + const AggMax + const AggMean + const AggMedian + const AggMin + const AggSize + const AggStd + const AggSum + const AggVar + const JoinCross + const JoinInner + const JoinLeft + const JoinOuter + const JoinRight + type AggOption func(*AggOptions) + func SkipNA(skip bool) AggOption + type AggOptions struct + type DataFrame struct + func FromRecords(records []map[string]any) (*DataFrame, error) + func New(data map[string]any) (*DataFrame, error) + func (df *DataFrame) Apply(fn func(*Row) any, resultCol string) *DataFrame + func (df *DataFrame) ApplyColumn(col string, fn func(any) any) *DataFrame + func (df *DataFrame) ApplyElement(cols []string, fn func(map[string]any) map[string]any) *DataFrame + func (df *DataFrame) Argsort(col string, order core.Order, opts ...SortOption) []int + func (df *DataFrame) Column(name string) (*series.Series[any], error) + func (df *DataFrame) Columns() []string + func (df *DataFrame) Copy() *DataFrame + func (df *DataFrame) Count(cols ...string) (map[string]int, error) + func (df *DataFrame) Describe() (*DataFrame, error) + func (df *DataFrame) Drop(cols ...string) *DataFrame + func (df *DataFrame) DropNA(opts ...DropNAOption) *DataFrame + func (df *DataFrame) EWM(alpha float64) *Window + func (df *DataFrame) Empty() bool + func (df *DataFrame) Expanding(minPeriods int) *Window + func (df *DataFrame) FillNA(value any) *DataFrame + func (df *DataFrame) FillNAColumn(col string, value any) *DataFrame + func (df *DataFrame) FillNADict(values map[string]any) *DataFrame + func (df *DataFrame) Filter(fn func(*Row) bool) *DataFrame + func (df *DataFrame) GroupBy(cols ...string) (*GroupBy, error) + func (df *DataFrame) HasColumn(name string) bool + func (df *DataFrame) Head(n int) string + func (df *DataFrame) Iloc(positions ...int) *DataFrame + func (df *DataFrame) Index() core.Index + func (df *DataFrame) Interpolate(method string, opts ...InterpolateOption) *DataFrame + func (df *DataFrame) IsNA() (*DataFrame, error) + func (df *DataFrame) Join(other *DataFrame, joinType, onCol string, opts ...JoinOption) (*DataFrame, error) + func (df *DataFrame) Loc(labels ...any) (*DataFrame, error) + func (df *DataFrame) Map(fn func(any) any) *DataFrame + func (df *DataFrame) Max(cols ...string) (map[string]any, error) + func (df *DataFrame) Mean(cols ...string) (map[string]float64, error) + func (df *DataFrame) Median(cols ...string) (map[string]float64, error) + func (df *DataFrame) Melt(idVars, valueVars []string, varName, valueName string) (*DataFrame, error) + func (df *DataFrame) Merge(other *DataFrame, joinType string, leftOn, rightOn []string, ...) (*DataFrame, error) + func (df *DataFrame) Min(cols ...string) (map[string]any, error) + func (df *DataFrame) Ncols() int + func (df *DataFrame) NotNA() (*DataFrame, error) + func (df *DataFrame) Nrows() int + func (df *DataFrame) Pivot(index, columns, values string) (*DataFrame, error) + func (df *DataFrame) Rename(mapping map[string]string) *DataFrame + func (df *DataFrame) Rolling(size int, opts ...WindowOption) *Window + func (df *DataFrame) Select(cols ...string) *DataFrame + func (df *DataFrame) SetIndex(idx core.Index) error + func (df *DataFrame) Shape() (int, int) + func (df *DataFrame) SliceRows(start, end int) *DataFrame + func (df *DataFrame) Sort(col string, order core.Order, opts ...SortOption) *DataFrame + func (df *DataFrame) SortIndex(order core.Order, opts ...SortOption) *DataFrame + func (df *DataFrame) SortMulti(cols []string, orders []core.Order, opts ...SortOption) *DataFrame + func (df *DataFrame) Stack() (*DataFrame, error) + func (df *DataFrame) Std(cols ...string) (map[string]float64, error) + func (df *DataFrame) String() string + func (df *DataFrame) Sum(cols ...string) (map[string]float64, error) + func (df *DataFrame) Tail(n int) string + func (df *DataFrame) Transpose() (*DataFrame, error) + func (df *DataFrame) Unstack(rowCol, colCol, valueCol string) (*DataFrame, error) + func (df *DataFrame) Var(cols ...string) (map[string]float64, error) + func (df *DataFrame) WithColumn(name string, s *series.Series[any]) *DataFrame + type DatetimeIndex struct + func NewDatetimeIndex(times []time.Time, tz *time.Location) *DatetimeIndex + func (di *DatetimeIndex) Copy() core.Index + func (di *DatetimeIndex) Get(pos int) any + func (di *DatetimeIndex) Len() int + func (di *DatetimeIndex) Loc(labels ...any) ([]int, error) + func (di *DatetimeIndex) Slice(start, end int) core.Index + type DropNAOption func(*DropNAOptions) + func HowAll() DropNAOption + func HowAny() DropNAOption + func Subset(cols []string) DropNAOption + func Thresh(n int) DropNAOption + type DropNAOptions struct + type GroupBy struct + func (gb *GroupBy) Agg(ops map[string]string) (*DataFrame, error) + func (gb *GroupBy) AggMultiple(ops map[string][]string) (*DataFrame, error) + func (gb *GroupBy) Apply(fn func(*DataFrame) any) (*DataFrame, error) + func (gb *GroupBy) Count() (*DataFrame, error) + func (gb *GroupBy) Size() (*DataFrame, error) + type InterpolateOption func(*InterpolateOptions) + func Limit(n int) InterpolateOption + type InterpolateOptions struct + type JoinOption func(*JoinOptions) + func WithIndicator(colName string) JoinOption + func WithSuffixes(left, right string) JoinOption + type JoinOptions struct + type RangeIndex struct + func NewRangeIndex(start, stop, step int) *RangeIndex + func (ri *RangeIndex) Copy() core.Index + func (ri *RangeIndex) Get(pos int) any + func (ri *RangeIndex) Len() int + func (ri *RangeIndex) Loc(labels ...any) ([]int, error) + func (ri *RangeIndex) Slice(start, end int) core.Index + type Row struct + func (r *Row) Get(col string) (any, bool) + type SortOption func(*SortOptions) + func NullsFirst() SortOption + func NullsLast() SortOption + func Stable() SortOption + type SortOptions struct + type StringIndex struct + func NewStringIndex(labels []string) *StringIndex + func (si *StringIndex) Copy() core.Index + func (si *StringIndex) Get(pos int) any + func (si *StringIndex) Len() int + func (si *StringIndex) Loc(labels ...any) ([]int, error) + func (si *StringIndex) Slice(start, end int) core.Index + type Window struct + func (w *Window) Max(col string) (*series.Series[any], error) + func (w *Window) Mean(col string) (*series.Series[float64], error) + func (w *Window) Min(col string) (*series.Series[any], error) + func (w *Window) Std(col string) (*series.Series[float64], error) + func (w *Window) Sum(col string) (*series.Series[float64], error) + type WindowOption func(*WindowOptions) + func Center() WindowOption + func MinPeriods(n int) WindowOption + type WindowOptions struct