// ColInfoByName returns the column detail of the named column or an error if
// there is no column with that name
ColInfoByName returns the column detail of the named column or an error if
there is no column with that name
// ColInfoByName returns the column detail of the named column or an error if // there is no column with that name
func (df DF) ColInfoByName(name string) (ColInfo, error) {
	i, ok := df.mci.nameToCol[name]
	if !ok {
		return ColInfo{}, dfErrorf("Unknown column name: %q", name)
	}
	return df.mci.info[i], nil
}
func ( df DF ) ColInfoByName ( name string ) ( ColInfo , error ) { i , ok := df . mci . nameToCol [ name ] if ! ok { return ColInfo { } , dfErrorf ( " " , name ) } return df . mci . info [ i ] , nil }
ColInfoByName returns the column detail of the named column or an error if
there is no column with that name
ColInfoByName returns the column detail of the named column or an error if there is no column with that name