Loading srl.py +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ def load_nameslab(): namfn = 'data/names_labeled.csv' df = pd.read_csv(namfn, index_col=0) df = df.replace({'l': 'From the Left', 'r': 'From the Right', 'c':'From the Center'}) return df, df.bias.to_dict() return df, df.name_bias.to_dict() def load_flipper(): Loading Loading
srl.py +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ def load_nameslab(): namfn = 'data/names_labeled.csv' df = pd.read_csv(namfn, index_col=0) df = df.replace({'l': 'From the Left', 'r': 'From the Right', 'c':'From the Center'}) return df, df.bias.to_dict() return df, df.name_bias.to_dict() def load_flipper(): Loading