diff --git a/src/imf_reader/weo/parser.py b/src/imf_reader/weo/parser.py index 69166bd..c48c05c 100644 --- a/src/imf_reader/weo/parser.py +++ b/src/imf_reader/weo/parser.py @@ -137,7 +137,9 @@ def clean_numeric_columns(df: pd.DataFrame) -> pd.DataFrame: for column in SDMX_NUMERIC_COLUMNS: df[column] = df[column].str.replace(",", "") # Remove commas - df[column] = pd.to_numeric(df[column], errors="coerce") # Convert to numeric + df[column] = pd.to_numeric( + df[column], errors="coerce" + ) # Convert to numeric # Convert to the correct type if column in SDMX_COLUMNS_TYPES: