diff --git a/awswrangler/_data_types.py b/awswrangler/_data_types.py index 5121ca0ff..7471e55ee 100644 --- a/awswrangler/_data_types.py +++ b/awswrangler/_data_types.py @@ -455,7 +455,7 @@ def _cast_pandas_column(df: pd.DataFrame, col: str, current_type: str, desired_t elif desired_type == "decimal": df[col] = ( df[col] - .astype("string") + .astype("str") .apply(lambda x: Decimal(str(x)) if str(x) not in ("", "none", "None", " ", "") else None) ) elif desired_type == "string":