Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lpicci96 committed Oct 11, 2024
1 parent 25edd6f commit 2c8522a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/imf_reader/weo/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2c8522a

Please sign in to comment.