You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i called Slice method with two paramenters (j,k) on a Series object, If the value of k just is equal to the Series` length , Then it return empty. I jumped to the file 'github.com\go-gota\[email protected]\series\series.go' in the gota package source, Try to modified the line if j > k || j < 0 || k >= s.Len() { to if j > k || j < 0 || k > s.Len() {
in the Slice method, Everything is ok.
I found an issue.
When i called Slice method with two paramenters (j,k) on a Series object, If the value of k just is equal to the Series` length , Then it return empty. I jumped to the file 'github.com\go-gota\[email protected]\series\series.go' in the gota package source, Try to modified the line
if j > k || j < 0 || k >= s.Len() {
toif j > k || j < 0 || k > s.Len() {
in the Slice method, Everything is ok.
Method below:
func (s Series) Slice(j, k int) Series
The text was updated successfully, but these errors were encountered: