diff --git a/python/evalica/__main__.py b/python/evalica/__main__.py index 5c17534..b922e77 100755 --- a/python/evalica/__main__.py +++ b/python/evalica/__main__.py @@ -38,7 +38,7 @@ def read_csv(f: IO[str]) -> tuple[list[str], list[str], list[Winner]]: df_input = pd.read_csv(f, dtype=str) - df_input["winner"] = df_input["winner"].lower().map(WINNERS) + df_input["winner"] = df_input["winner"].str.lower().map(WINNERS) df_input = df_input[~df_input["winner"].isna()] xs = df_input["left"].tolist()