diff --git a/src/imf_reader/weo/parser.py b/src/imf_reader/weo/parser.py index e9c12df..f04c2ff 100644 --- a/src/imf_reader/weo/parser.py +++ b/src/imf_reader/weo/parser.py @@ -127,7 +127,7 @@ def clean_numeric_columns(df: pd.DataFrame) -> pd.DataFrame: """ for column, dtype in SDMX_NUMERIC_COLUMNS.items(): - df[column] = df[column].replace(["n/a", "--", "NULL", ''], pd.NA) + df[column] = df[column].replace(["n/a", "--", "NULL", ""], pd.NA) df[column] = df[column].str.replace(",", "") # Remove commas df[column] = df[column].astype(dtype)