Bases: DataFrame
DataFrame
Returns the column name present in df and the list of candidates.
KeyError – If there is no candidate column name present in df, or more than one.