dataframe

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataFrame

type DataFrame struct {
	Headers  map[string]int
	Rows     [][]string
	Position int
}

func NewDataFrame

func NewDataFrame() DataFrame

func OpenCsv

func OpenCsv(f string) (DataFrame, error)

func (*DataFrame) AppendRow

func (df *DataFrame) AppendRow(row []string) DataFrame

func (*DataFrame) GetElement

func (df *DataFrame) GetElement(s string) *string

func (*DataFrame) HasHeader

func (df *DataFrame) HasHeader(s string) (bool, int)

func (*DataFrame) HasNext

func (df *DataFrame) HasNext() bool

func (*DataFrame) Next

func (df *DataFrame) Next() ([]string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL