From acd2914c77865f9ccd8ee1049a324b61b9d24412 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Sat, 4 Feb 2017 20:30:20 -0800 Subject: [PATCH] vendor: update 'dataframe' --- glide.lock | 6 +++--- glide.yaml | 2 +- vendor/github.com/gyuho/dataframe/dataframe.go | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/glide.lock b/glide.lock index 8f5ebf68..120573da 100644 --- a/glide.lock +++ b/glide.lock @@ -1,5 +1,5 @@ -hash: e4221ab3d1946bec9cdc59b39500f727496088a18b9cc31889a46f608a6e562a -updated: 2017-02-04T20:14:17.251307566-08:00 +hash: 35875650d8e05eff855d29a77c8ddf25cbb1be878950c57324f680ee3808401a +updated: 2017-02-04T20:30:04.541079683-08:00 imports: - name: bitbucket.org/zombiezen/gopdf version: 1c63dc69751bc45441c2ce1f56b631c55294b4d5 @@ -96,7 +96,7 @@ imports: - runtime/internal - utilities - name: github.com/gyuho/dataframe - version: f9fe6fd9537b000e95362aefbcc0250679e1549b + version: 73de2c550b1177c1640f3dacbbc1af00f913fedb - name: github.com/gyuho/psn version: 04e255d485181cbe8bc9002416a2ad3143f104ba subpackages: diff --git a/glide.yaml b/glide.yaml index ed2e2982..7d9b2d7a 100644 --- a/glide.yaml +++ b/glide.yaml @@ -53,7 +53,7 @@ import: - vg/vgpdf - vg/vgsvg - package: github.com/gyuho/dataframe - version: f9fe6fd9537b000e95362aefbcc0250679e1549b + version: 73de2c550b1177c1640f3dacbbc1af00f913fedb - package: github.com/gyuho/psn version: 04e255d485181cbe8bc9002416a2ad3143f104ba - package: github.com/hashicorp/consul diff --git a/vendor/github.com/gyuho/dataframe/dataframe.go b/vendor/github.com/gyuho/dataframe/dataframe.go index bbe89cee..cfdbc51c 100644 --- a/vendor/github.com/gyuho/dataframe/dataframe.go +++ b/vendor/github.com/gyuho/dataframe/dataframe.go @@ -62,6 +62,8 @@ func New() Frame { } // NewFromRows creates Frame from rows. +// Pass 'nil' header if first row is used as header strings. +// Pass 'non-nil' header if the data starts from the first row, without header strings. func NewFromRows(header []string, rows [][]string) (Frame, error) { if len(rows) < 1 { return nil, fmt.Errorf("empty row %q", rows) @@ -129,6 +131,8 @@ func NewFromRows(header []string, rows [][]string) (Frame, error) { } // NewFromCSV creates a new Frame from CSV. +// Pass 'nil' header if first row is used as header strings. +// Pass 'non-nil' header if the data starts from the first row, without header strings. func NewFromCSV(header []string, fpath string) (Frame, error) { f, err := openToRead(fpath) if err != nil {