Documentation ¶
Index ¶
- func Column(v string) resolver
- func Fixed8(v string) resolver
- func Float32(v string) resolver
- func Float64(v string) resolver
- func Int(v string) resolver
- func Mapper(ccol, tcol string, t reflect.Type, conv converter, form formatter) mapper
- func Meta(x tables.Meta, v string) resolver
- func Read(source interface{}, opts ...interface{}) (t *tables.Table, err error)
- func Sink(dest iokit.Output, opts ...interface{}) tables.Sink
- func Source(source interface{}, opts ...interface{}) tables.Lazy
- func String(v string) resolver
- func Tensor32f(v string) resolver
- func Tensor64f(v string) resolver
- func Tensor8f(v string) resolver
- func Tensor8u(v string) resolver
- func Time(v string, layout ...string) resolver
- func Write(t *tables.Table, dest iokit.Output, opts ...interface{}) (err error)
- type Comma
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Write ¶
csv.Write(t,iokit.File("file.csv.xz"),
csv.Column("feature_1").Round(2).As("Feature1"))
csv.Write(t,iokit.LzmaFile("file.csv.xz"),
csv.Column("feature*").As("Feature*"))
bf := bytes.Buffer{} csv.Write(t,iokit.GzipWriter(&bf),
csv.Comma('|'), csv.Column("feature*").Round(3).As("Feature*"))
csv.Write(t,iokit.LzmaUrl("gc://$/testfile.csv.xz"),
csv.Comma('|'), csv.Column("feature_1").As("Feature1"))
Types ¶
Click to show internal directories.
Click to hide internal directories.