Documentation ¶
Overview ¶
table provides a struct to handle tabular data.
Index ¶
- type Columns
- type Table
- func (tbl *Table) PointXYsColumnIndexes(xColIdx, yColIdx int) (point.PointXYs, error)
- func (tbl *Table) PointXYsColumnNames(xColName, yColName string) (point.PointXYs, error)
- func (tbl *Table) ValuesColumnIndex(colIndex uint) ([]float64, error)
- func (tbl *Table) ValuesColumnName(colName string) ([]float64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Table ¶
Table is useful for working on CSV data. It stores records as `[]string` with typed formatting information per-column to facilitate transformations.
func FromTableString ¶
func NewTable ¶
NewTable returns a new empty `Table` struct with slices and maps set to empty (non-nil) values.
func (*Table) PointXYsColumnIndexes ¶
func (*Table) PointXYsColumnNames ¶
func (*Table) ValuesColumnIndex ¶
Click to show internal directories.
Click to hide internal directories.