diff --git a/explorer/all.py b/explorer/all.py index bd0af78..b9d27e8 100644 --- a/explorer/all.py +++ b/explorer/all.py @@ -680,8 +680,8 @@ def get_merged_ms_df(): # Here, I change the datatype to boolean for all the multiple choice answers for col in df: if col.startswith("foi5"): - df[col] = df[col].replace(np.nan, "False") - df[col] = df[col].replace("Y", "True") + df[col] = df[col].replace(np.nan, False) + df[col] = df[col].replace("Y", True) df[col] = df[col].astype("bool") ###################################################################################