Skip to content

Instantly share code, notes, and snippets.

Jacek Szwec jszwec

  • Boston, USA
Block or report user

Report or block jszwec

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View nan.go
package mapping
import "reflect"
// based on 'na_values' from:
// https://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_csv.html
var nanMap = map[string]struct{}{
"": {},
"#N/A": {},
"#N/A N/A": {},
@jszwec
jszwec / main.go
Created Dec 7, 2017
main.go with csvutil for github.com/AppliedGo/spreadsheet Raw
View main.go
package main
import (
"bytes"
"encoding/csv"
"fmt"
"io"
"io/ioutil"
"log"
"os"
View bench_marshal_test.go
package csvutil_test
import (
"bytes"
"testing"
"github.com/gocarina/gocsv"
"github.com/jszwec/csvutil"
)
View bench_test.go
package csvutil_test
import (
"bytes"
"encoding/csv"
"testing"
"github.com/gocarina/gocsv"
"github.com/jszwec/csvutil"
"github.com/yunabe/easycsv"
You can’t perform that action at this time.