// makeTestRow creates and returns a standard Row for the tests to use
makeTestRow creates and returns a standard Row for the tests to use
// makeTestRow creates and returns a standard Row for the tests to use
func makeTestRow() *dataframe.Row {
	r, err := dataframe.NewRow()
	if err != nil {
		panic(err)
	}
	err = r.AddBool("boolCol", dataframe.BoolVal{Val: true})
	if err != nil {
		panic(err)
	}
	err = r.AddInt("intCol", dataframe.IntVal{Val: 42})
	if err != nil {
		panic(err)
	}
	err = r.AddFloat("floatCol", dataframe.FloatVal{Val: 3.14159})
	if err != nil {
		panic(err)
	}
	err = r.AddString("stringCol", dataframe.StringVal{Val: "Hello, World!"})
	if err != nil {
		panic(err)
	}
	return r
}
func makeTestRow ( ) * dataframe . Row { r , err := dataframe . NewRow ( ) if err != nil { panic ( err ) } err = r . AddBool ( " " , dataframe . BoolVal { Val : true } ) if err != nil { panic ( err ) } err = r . AddInt ( " " , dataframe . IntVal { Val : 42 } ) if err != nil { panic ( err ) } err = r . AddFloat ( " " , dataframe . FloatVal { Val : 3.14159 } ) if err != nil { panic ( err ) } err = r . AddString ( " " , dataframe . StringVal { Val : " " } ) if err != nil { panic ( err ) } return r }
makeTestRow creates and returns a standard Row for the tests to use
makeTestRow creates and returns a standard Row for the tests to use