Versions in this module Expand all Collapse all v1 v1.0.4 Feb 17, 2026 v1.0.3 Feb 17, 2026 Changes in this version type Series + func (s *Series) Float64Slice() []float64 + func (s *Series) GetFloat64(index int) (float64, error) + func (s *Series) GetInt64(index int) (int64, error) + func (s *Series) GetString(index int) (string, error) + func (s *Series) Int64Slice() []int64 + func (s *Series) StringSlice() []string v1.0.2 Feb 17, 2026 v1.0.1 Feb 17, 2026 v1.0.0 Jun 25, 2025 Changes in this version + var ErrColumnNotFound = &OtterError + var ErrEmptyDataFrame = &OtterError + var ErrIndexOutOfRange = &OtterError + var ErrInvalidOperation = &OtterError + var ErrTypeMismatch = &OtterError + func ConvertValue(value string, targetType ColumnType) (interface{}, error) + func DetectDelimiter(filename string) (rune, error) + func MustOperation(op string, fn func() error) + func SafeOperation(op string, fn func() error) (err error) + type CSVInfo struct + Columns int + Delimiter rune + Filename string + HasHeader bool + Rows int + func ValidateCSV(filename string) (*CSVInfo, error) + type CSVOptions struct + Delimiter rune + HasHeader bool + MaxRows int + SkipRows int + type ColumnType int + const BoolType + const Float64Type + const Int64Type + const StringType + const TimeType + func InferType(values []string) ColumnType + func (ct ColumnType) String() string + type DataFrame struct + func NewDataFrame() *DataFrame + func NewDataFrameFromMap(data map[string]interface{}) (*DataFrame, error) + func NewDataFrameFromSeries(series ...*Series) (*DataFrame, error) + func ReadCSV(filename string) (*DataFrame, error) + func ReadCSVFromString(data string) (*DataFrame, error) + func ReadCSVFromStringWithOptions(data string, options CSVOptions) (*DataFrame, error) + func ReadCSVWithOptions(filename string, options CSVOptions) (*DataFrame, error) + func (df *DataFrame) AddColumn(series *Series) *DataFrame + func (df *DataFrame) Columns() []string + func (df *DataFrame) Copy() *DataFrame + func (df *DataFrame) Correlation() (*DataFrame, error) + func (df *DataFrame) Count() int + func (df *DataFrame) Describe() (*DataFrame, error) + func (df *DataFrame) Drop(columns ...string) *DataFrame + func (df *DataFrame) DropColumn(name string) *DataFrame + func (df *DataFrame) Error() error + func (df *DataFrame) Filter(column, operator string, value interface{}) *DataFrame + func (df *DataFrame) Get(row int, column string) (interface{}, error) + func (df *DataFrame) GetColumnType(name string) (ColumnType, error) + func (df *DataFrame) GetSeries(name string) (*Series, error) + func (df *DataFrame) GroupBy(columns ...string) *GroupBy + func (df *DataFrame) HasColumn(name string) bool + func (df *DataFrame) Head(n int) *DataFrame + func (df *DataFrame) Info() string + func (df *DataFrame) IsEmpty() bool + func (df *DataFrame) Len() int + func (df *DataFrame) Max(column string) (interface{}, error) + func (df *DataFrame) Mean(column string) (float64, error) + func (df *DataFrame) Median(column string) (float64, error) + func (df *DataFrame) Min(column string) (interface{}, error) + func (df *DataFrame) NumericSummary(column string) (*NumericStats, error) + func (df *DataFrame) Quantile(column string, q float64) (float64, error) + func (df *DataFrame) Query(query string) *DataFrame + func (df *DataFrame) RenameColumn(oldName, newName string) *DataFrame + func (df *DataFrame) ResetIndex() *DataFrame + func (df *DataFrame) Select(columns ...string) *DataFrame + func (df *DataFrame) Set(row int, column string, value interface{}) error + func (df *DataFrame) Shape() (int, int) + func (df *DataFrame) Sort(column string, ascending bool) *DataFrame + func (df *DataFrame) SortBy(columns []string, ascending []bool) *DataFrame + func (df *DataFrame) Std(column string) (float64, error) + func (df *DataFrame) String() string + func (df *DataFrame) Sum(column string) (float64, error) + func (df *DataFrame) Tail(n int) *DataFrame + func (df *DataFrame) Unique(column string) ([]interface{}, error) + func (df *DataFrame) ValueCounts(column string) (*DataFrame, error) + func (df *DataFrame) Var(column string) (float64, error) + func (df *DataFrame) Where(column, operator string, value interface{}) *DataFrame + func (df *DataFrame) Width() int + func (df *DataFrame) WriteCSV(filename string) error + func (df *DataFrame) WriteCSVWithOptions(filename string, options CSVOptions) error + type GroupBy struct + func (gb *GroupBy) Count() (*DataFrame, error) + func (gb *GroupBy) Max() (*DataFrame, error) + func (gb *GroupBy) Mean() (*DataFrame, error) + func (gb *GroupBy) Min() (*DataFrame, error) + func (gb *GroupBy) Sum() (*DataFrame, error) + type NumericStats struct + Column string + Count int + Max float64 + Mean float64 + Median float64 + Min float64 + Std float64 + Sum float64 + func (ns *NumericStats) String() string + type OtterError struct + Cause error + Column string + Message string + Op string + Row int + func (e *OtterError) Error() string + func (e *OtterError) Is(target error) bool + func (e *OtterError) Unwrap() error + type Series struct + Data interface{} + Length int + Name string + Type ColumnType + func NewSeries(name string, data interface{}) (*Series, error) + func (s *Series) Copy() *Series + func (s *Series) Get(index int) (interface{}, error) + func (s *Series) Set(index int, value interface{}) error