// checkColDetails checks that the columns in the dataframe match their
// expected values in number, type and name
checkColDetails checks that the columns in the dataframe match their
expected values in number, type and name
// checkColDetails checks that the columns in the dataframe match their // expected values in number type and name
func checkColDetails(t *testing.T, id string, df *dataframe.DF, exp []dataframe.ColInfo) {
	t.Helper()
	cols := df.Columns()
	if len(cols) != len(exp) {
		t.Log(id)
		t.Logf("\t: expected: %d\n", len(exp))
		t.Logf("\t:   actual: %d\n", len(cols))
		t.Errorf("\t: unexpected column count\n")
		return
	}
	for i, c := range cols {
		checkColVal(t, id, fmt.Sprintf("col[%d]", i), c, exp[i])
	}
}
func checkColDetails ( t * testing . T , id string , df * dataframe . DF , exp [ ] dataframe . ColInfo ) { t . Helper ( ) cols := df . Columns ( ) if len ( cols ) != len ( exp ) { t . Log ( id ) t . Logf ( " \t \n " , len ( exp ) ) t . Logf ( " \t \n " , len ( cols ) ) t . Errorf ( " \t \n " ) return } for i , c := range cols { checkColVal ( t , id , fmt . Sprintf ( " " , i ) , c , exp [ i ] ) } }
checkColDetails checks that the columns in the dataframe match their
expected values in number, type and name
checkColDetails checks that the columns in the dataframe match their expected values in number type and name