From 3993ce602856c267cd5b664522de1e6ada6cca9b Mon Sep 17 00:00:00 2001 From: Dmitry Ustalov Date: Sat, 24 Aug 2024 17:50:49 +0200 Subject: [PATCH] Fix tests --- python/evalica/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()