Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 610 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 610 Bytes

traces

Package traces is a library for unevenly-spaced event series analysis.

It is based on a similar but more extensive python package developed by Datascope Analytics.

Usage

import "github.com/ders/traces"

Create a new series.

s := NewInt64Series()

Add points.

s.Set(0, 10)
s.Set(65000, 20)

Or create and add in one operation.

s0 := NewInt64Series(map[int64]int64{0: 10, 65000: 20})

GoDoc