// StringColByName returns the slice of StringVals for the named column. The
// error is non-nil if there is a problem (no such column or it's not a
// string column)
StringColByName returns the slice of StringVals for the named column. The
error is non-nil if there is a problem (no such column or it's not a
string column)
// StringColByName returns the slice of StringVals for the named column . The // error is non - nil if there is a problem ( no such column or it ' s not a // string column )
func (df DF) StringColByName(name string) ([]StringVal, error) {
	i, ok := df.mci.nameToCol[name]
	if !ok {
		return nil, dfErrorf("Unknown column name: %q", name)
	}
	ci := df.mci.info[i]
	if err := assertTypeByName(ci.colType, ColTypeString, name); err != nil {
		return nil, err
	}
	return df.stringCols[df.mci.valIdx[i]], nil
}
func ( df DF ) StringColByName ( name string ) ( [ ] StringVal , error ) { i , ok := df . mci . nameToCol [ name ] if ! ok { return nil , dfErrorf ( " " , name ) } ci := df . mci . info [ i ] if err := assertTypeByName ( ci . colType , ColTypeString , name ) ; err != nil { return nil , err } return df . stringCols [ df . mci . valIdx [ i ] ] , nil }
StringColByName returns the slice of StringVals for the named column.
StringColByName returns the slice of StringVals for the named column .