Add some type safety to getting DOHLCV columns

This commit is contained in:
Luke I. Wilson
2023-05-20 16:16:37 -05:00
parent ed08bd275d
commit 920df02bcc
2 changed files with 18 additions and 14 deletions

View File

@@ -33,6 +33,10 @@ func NewSeries(name string, vals ...any) *Series {
}
}
func (s *Series) ISetName(name string) {
s.SetName(name)
}
// Copy is equivalent to CopyRange(0, -1).
func (s *Series) Copy() *Series {
return s.CopyRange(0, -1)