giatools.pandas

class giatools.pandas.DataFrame(data=None, index: Axes | None = None, columns: Axes | None = None, dtype: Dtype | None = None, copy: bool | None = None)

Bases: DataFrame

giatools.pandas.find_column(df: DataFrame, candidates: Iterable[str]) str

Returns the column name present in df and the list of candidates.

Raises:

KeyError – If there is no candidate column name present in df, or more than one.