group

package
v0.0.0-...-7fe8aff Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package group defines utilities for aggregating and slicing Frames. A group is simply a Frame where each index corresponds to a single column that contains a list of rows, each with the same index.

Index

Constants

View Source
const Column = "Group"

Column is the Frame column in which the group is stored.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group []row.Data

Group is a slice of Data objects, stored in the column defined by Column.

func New

func New(data ...row.Data) Group

New returns a Group containing the given Data objects.

type Indexer

type Indexer struct {
	RowIndexer index.Indexer
}

func (Indexer) Index

func (i Indexer) Index(data row.Data) (index.Index, error)

Index returns the index of the first row in a collection of rows.

Jump to

Keyboard shortcuts

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