// FloatColByName returns the slice of FloatVals for the named column. The
// error is non-nil if there is a problem (no such column or it's not a float
// column)
FloatColByName returns the slice of FloatVals for the named column. The
error is non-nil if there is a problem (no such column or it's not a float
column)
// FloatColByName returns the slice of FloatVals for the named column . The // error is non - nil if there is a problem ( no such column or it ' s not a float // column )
func (df DF) FloatColByName(name string) ([]FloatVal, 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, ColTypeFloat, name); err != nil {
		return nil, err
	}
	return df.floatCols[df.mci.valIdx[i]], nil
}
func ( df DF ) FloatColByName ( name string ) ( [ ] FloatVal , error ) { i , ok := df . mci . nameToCol [ name ] if ! ok { return nil , dfErrorf ( " " , name ) } ci := df . mci . info [ i ] if err := assertTypeByName ( ci . colType , ColTypeFloat , name ) ; err != nil { return nil , err } return df . floatCols [ df . mci . valIdx [ i ] ] , nil }
FloatColByName returns the slice of FloatVals for the named column.
FloatColByName returns the slice of FloatVals for the named column .